diff options
Diffstat (limited to 'examples/ex2.subx')
-rw-r--r-- | examples/ex2.subx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/examples/ex2.subx b/examples/ex2.subx index 83b48aad..f99704de 100644 --- a/examples/ex2.subx +++ b/examples/ex2.subx @@ -7,17 +7,14 @@ # $ echo $? # 2 -== code 0x09000000 +== code Entry: # ebx = 1 bb/copy-to-ebx 1/imm32 # increment ebx 43/increment-ebx -# syscall(exit, ebx) -b8/copy-to-eax 1/imm32/exit -cd/syscall 0x80/imm8 - -== data 0x0a000000 +# exit(ebx) +e8/call syscall_exit/disp32 # . . vim:nowrap:textwidth=0 |