diff options
Diffstat (limited to 'subx/examples/ex6.subx')
-rw-r--r-- | subx/examples/ex6.subx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/examples/ex6.subx b/subx/examples/ex6.subx index 92ad4c21..0213ad7e 100644 --- a/subx/examples/ex6.subx +++ b/subx/examples/ex6.subx @@ -19,11 +19,11 @@ 8b/copy 0/mod/indirect 5/rm32/.disp32 2/r32/EDX size/disp32 # copy *size to EDX # write(fd, x, size) b8/copy 4/imm32/write # copy 4 to EAX - cd/syscall 0x80/imm8 # int 80h + cd/syscall 0x80/imm8 # exit(EBX) b8/copy 1/imm32/exit # copy 1 to EAX - cd/syscall 0x80/imm8 # int 80h + cd/syscall 0x80/imm8 == data size: # size of string |