diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-12-04 00:29:06 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-12-04 00:29:06 -0800 |
commit | cf02c20bb02f5d2fbfee5557baf68c0e2ca5a042 (patch) | |
tree | 8f1d896a0134e8353ccf01add61fb6c732103861 /subx/050_write.subx | |
parent | 7cb326df5bb9739d948dd4f8b32019f1bf6e4ef3 (diff) | |
download | mu-cf02c20bb02f5d2fbfee5557baf68c0e2ca5a042.tar.gz |
4832
Let's start adding ':end' labels in all functions, just because it helps us visualize where function calls end in traces, thanks to the '--map' commandline argument.
Diffstat (limited to 'subx/050_write.subx')
-rw-r--r-- | subx/050_write.subx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subx/050_write.subx b/subx/050_write.subx index a82931db..5b8b4d4f 100644 --- a/subx/050_write.subx +++ b/subx/050_write.subx @@ -32,6 +32,7 @@ _write: # fd : int, s : (address array byte) -> <void> # . syscall b8/copy-to-EAX 4/imm32/write cd/syscall 0x80/imm8 +$_write:end: # . restore registers 5b/pop-to-EBX 5a/pop-to-EDX |