diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-12-28 08:56:21 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-12-28 08:56:21 -0800 |
commit | 5a9795bb661314d658afffd84059cc32e3b3b709 (patch) | |
tree | 24ac00e68334f1dddf6a16e55468536650b94913 /subx/examples/ex11.subx | |
parent | e0610e396f0218f5927be8bbcba9ec05be4b1479 (diff) | |
download | mu-5a9795bb661314d658afffd84059cc32e3b3b709.tar.gz |
4881
Diffstat (limited to 'subx/examples/ex11.subx')
-rw-r--r-- | subx/examples/ex11.subx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/examples/ex11.subx b/subx/examples/ex11.subx index a03c08d3..5acd5bf0 100644 --- a/subx/examples/ex11.subx +++ b/subx/examples/ex11.subx @@ -23,7 +23,7 @@ e8/call run-tests/disp32 # 'run-tests' is a function created automatically by SubX. It calls all functions that start with 'test-'. # syscall(exit, EAX) 89/copy 3/mod/direct 3/rm32/EBX . . . 0/r32/EAX . . # copy EAX to EBX - b8/copy-to-EAX 1/imm32 + b8/copy-to-EAX 1/imm32/exit cd/syscall 0x80/imm8 # compare a null-terminated ascii string with a more idiomatic length-prefixed byte array |