From 01dfa4c3ef138d3fd7af100037bff05fc4d82c8b Mon Sep 17 00:00:00 2001 From: Arthur Paulino Date: Fri, 5 Jan 2018 20:38:37 -0300 Subject: [PATCH] mentioning the FLAGS resets --- CPU.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CPU.md b/CPU.md index 1b780b8..1af2358 100644 --- a/CPU.md +++ b/CPU.md @@ -1,11 +1,12 @@ ## Execution cycle -The code inside the `.text` segment is executed entirely at the beginning of each tick. Each millisecond of execution costs 1 kJ of energy. The execution time is rounded down to the nearest integer meaning that the first 999μs are 'free'. The execution will halt when there is not enough energy available (but the first 999μs are always executed) or when execution time exceeds 20ms*. +The code inside the `.text` segment is executed entirely at the beginning of each tick. Each millisecond of execution costs 1 kJ of energy. The execution time is rounded down to the nearest integer meaning that the first 999μs are 'free'. The execution will halt when there is not enough energy available (but the first 999μs are always executed) or when execution time exceeds 20ms*. + +After each tick, all [FLAGS](https://github.com/simon987/Much-Assembly-Required/wiki/CPU#the-flags-register) are reset. *_about 960,000 instructions in game server (2.4 GHz, single core)_ _See also_: [Battery Hardware](https://github.com/simon987/Much-Assembly-Required/wiki/Hardware:-Battery) - ## CPU Architecture Work in progress