diff options
Diffstat (limited to 'subx/examples/ex3.subx')
-rw-r--r-- | subx/examples/ex3.subx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/subx/examples/ex3.subx b/subx/examples/ex3.subx index c9ad3e38..1d52e87f 100644 --- a/subx/examples/ex3.subx +++ b/subx/examples/ex3.subx @@ -12,6 +12,7 @@ # . 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 +Entry: # result: EBX = 0 bb/copy-to-EBX 0/imm32 # counter: ECX = 1 @@ -33,4 +34,6 @@ $exit: b8/copy-to-EAX 1/imm32/exit cd/syscall 0x80/imm8 +== data 0x0a000000 + # . . vim:nowrap:textwidth=0 |