diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-05-27 00:02:57 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-05-27 00:02:57 -0700 |
commit | 9267f7b3c765603edcd6171de0ebfb649e0b0d04 (patch) | |
tree | 32113715d406c6bf53b33c2cd1c72864ff7c04ac | |
parent | d4e08192529d5842872647db6e50f24c4e2659d5 (diff) | |
download | mu-9267f7b3c765603edcd6171de0ebfb649e0b0d04.tar.gz |
5224
-rw-r--r-- | subx/Readme.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/subx/Readme.md b/subx/Readme.md index b6866d9f..b8994563 100644 --- a/subx/Readme.md +++ b/subx/Readme.md @@ -103,10 +103,11 @@ a few registers: * Six general-purpose 32-bit registers: EAX, EBX, ECX, EDX, ESI and EDI * Two additional 32-bit registers: ESP and EBP (I suggest you only use these to manage the call stack.) -* Three 1-bit _flag_ registers for conditional branching: +* Four 1-bit _flag_ registers for conditional branching: - zero/equal flag ZF - sign flag SF - overflow flag OF + - carry flag CF SubX programs consist of instructions like `89/copy`, `01/add`, `3d/compare` and `52/push-ECX` which modify these registers as well as a byte-addressable |