diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-10-29 21:33:24 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-10-29 21:36:33 -0700 |
commit | 2486881de014162a13ea9b11a72caac21fae051e (patch) | |
tree | 0310b0da95e8bf30df1f365a457c6ab8462daeee /apps/mu.subx | |
parent | 0a5d247ba7d588a72ca3d28823420726800037cd (diff) | |
download | mu-2486881de014162a13ea9b11a72caac21fae051e.tar.gz |
7142
Diffstat (limited to 'apps/mu.subx')
-rw-r--r-- | apps/mu.subx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/mu.subx b/apps/mu.subx index 282f47c7..a2ed8019 100644 --- a/apps/mu.subx +++ b/apps/mu.subx @@ -19109,6 +19109,8 @@ emit-pop-register: # out: (addr buffered-file), reg: (addr array byte) # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp + # . save registers + 50/push-eax # eax = reg 8b/-> *(ebp+0xc) 0/r32/eax # var prefix/eax: byte = reg->data[0] @@ -19137,6 +19139,8 @@ emit-pop-register: # out: (addr buffered-file), reg: (addr array byte) (write-buffered *(ebp+8) *(ebp+0xc)) (write-buffered *(ebp+8) Newline) $emit-pop-register:end: + # . restore registers + 58/pop-to-eax # . epilogue 89/<- %esp 5/r32/ebp 5d/pop-to-ebp |