about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-04-11 08:06:13 -0700
committerKartik Agaram <vc@akkartik.com>2019-04-11 08:06:13 -0700
commita8cea00a29892be8f6481c5abdbc95cd1c1d4b83 (patch)
treeeddcb001a5d49220d11be7636db1cdcbe61c2d69
parent09492d3867b5da6d0b2f21b139d097cd481a8fa1 (diff)
downloadmu-a8cea00a29892be8f6481c5abdbc95cd1c1d4b83.tar.gz
5078
-rw-r--r--subx/Readme.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/subx/Readme.md b/subx/Readme.md
index c0a11c42..2107bd96 100644
--- a/subx/Readme.md
+++ b/subx/Readme.md
@@ -86,15 +86,15 @@ small subset of the 32-bit x86 instruction set that likely runs on your
 computer. (Think of the name as short for "sub-x86".) Instructions operate on
 a few registers:
 
-* 6 general-purpose 32-bit registers: EAX, EBX, ECX, EDX, ESI and EDI
-* 2 additional 32-bit registers: ESP and EBP (I suggest you only use these to
+* 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.)
-* 3 bit-size _flag_ registers for conditional branching:
+* Three 1-bit _flag_ registers for conditional branching:
   - zero/equal flag ZF
   - sign flag SF
   - overflow flag OF
 
-SubX programs consist of instructions like `89/copy`, `01/add`, `39/compare`
+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
 memory. For a complete list of supported instructions, run `subx help opcodes`.