diff options
Diffstat (limited to 'subx/examples/ex5.subx')
-rw-r--r-- | subx/examples/ex5.subx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/subx/examples/ex5.subx b/subx/examples/ex5.subx index 44291b35..136c177b 100644 --- a/subx/examples/ex5.subx +++ b/subx/examples/ex5.subx @@ -5,9 +5,9 @@ # $ subx run examples/ex5 == code -# instruction effective address operand displacement immediate -# op subop mod rm32 base index scale r32 -# 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes +# instruction effective address register displacement immediate +# . op subop mod rm32 base index scale r32 +# . 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes # main: # allocate x on the stack @@ -39,4 +39,4 @@ b8/copy-to-EAX 1/imm32/exit cd/syscall 0x80/imm8 -# vim:nowrap:textwidth=0 +# . . vim:nowrap:textwidth=0 |