diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-06-10 23:09:30 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-06-10 23:09:30 -0700 |
commit | 7dac9ade153d736b7a183d073d83b7a17b22b4cc (patch) | |
tree | f19ba4be87306ae53caa0ba8c61e5202899cee48 /068error-byte.subx | |
parent | 72d893b6b1c0dcaea5c4a38dd6fd83fd0569dd79 (diff) | |
download | mu-7dac9ade153d736b7a183d073d83b7a17b22b4cc.tar.gz |
6507 - use syscall names everywhere
Diffstat (limited to '068error-byte.subx')
-rw-r--r-- | 068error-byte.subx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/068error-byte.subx b/068error-byte.subx index 31b40a3f..1d7729b5 100644 --- a/068error-byte.subx +++ b/068error-byte.subx @@ -20,8 +20,7 @@ #? e8/call error-byte/disp32 #? # . syscall(exit, Num-test-failures) #? 8b/copy 0/mod/indirect 5/rm32/.disp32 . . 3/r32/ebx Num-test-failures/disp32 # copy *Num-test-failures to ebx -#? b8/copy-to-eax 1/imm32/exit -#? cd/syscall 0x80/imm8 +#? e8/call syscall_exit/disp32 # write(out, "Error: "+msg+": "+byte) then stop(ed, 1) error-byte: # ed: (addr exit-descriptor), out: (addr buffered-file), msg: (addr array byte), n: byte |