diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-06-29 18:01:44 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-06-29 18:01:44 -0700 |
commit | 690fa191f1533379a21ae9f0253f80068ad1a800 (patch) | |
tree | e8b732ebaf989e8ce7fbd218a77fa12df5f9737a /apps/sigils.subx | |
parent | 05dabd816a8ead6ff0e949cc16bf30140811bad6 (diff) | |
download | mu-690fa191f1533379a21ae9f0253f80068ad1a800.tar.gz |
6595
Diffstat (limited to 'apps/sigils.subx')
-rw-r--r-- | apps/sigils.subx | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/apps/sigils.subx b/apps/sigils.subx index 7c9ec805..74ec48b9 100644 --- a/apps/sigils.subx +++ b/apps/sigils.subx @@ -1423,12 +1423,12 @@ emit-direct-mode: # out: (addr buffered-file), word-slice: (addr slice) e8/call write-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp - # print-int32-buffered(out, *reg-num) + # write-int32-hex-buffered(out, *reg-num) # . . push args ff 6/subop/push 0/mod/indirect 0/rm32/eax . . . . . . # push *eax ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 8/disp8 . # push *(ebp+8) # . . call - e8/call print-int32-buffered/disp32 + e8/call write-int32-hex-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp # write-buffered(out, "/rm32") @@ -2542,12 +2542,12 @@ $parse-effective-address:error1: e8/call write-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp - # . print-int32-buffered(out, eax) + # . write-int32-hex-buffered(out, eax) # . . push args 50/push-eax 68/push Stderr/imm32 # . . call - e8/call print-int32-buffered/disp32 + e8/call write-int32-hex-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp # . write-buffered(Stderr, "\n") @@ -2580,12 +2580,12 @@ $parse-effective-address:error2: e8/call write-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp - # . print-int32-buffered(out, eax) + # . write-int32-hex-buffered(out, eax) # . . push args 50/push-eax 68/push Stderr/imm32 # . . call - e8/call print-int32-buffered/disp32 + e8/call write-int32-hex-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp # . write-buffered(Stderr, "\n") @@ -2618,12 +2618,12 @@ $parse-effective-address:error3: e8/call write-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp - # . print-int32-buffered(out, eax) + # . write-int32-hex-buffered(out, eax) # . . push args 50/push-eax 68/push Stderr/imm32 # . . call - e8/call print-int32-buffered/disp32 + e8/call write-int32-hex-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp # . write-buffered(Stderr, "\n") @@ -2656,12 +2656,12 @@ $parse-effective-address:error4: e8/call write-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp - # . print-int32-buffered(out, eax) + # . write-int32-hex-buffered(out, eax) # . . push args 50/push-eax 68/push Stderr/imm32 # . . call - e8/call print-int32-buffered/disp32 + e8/call write-int32-hex-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp # . write-buffered(Stderr, "; expected ')' to wrap up\n") @@ -3191,12 +3191,12 @@ $emit-indirect-mode:emit-sib: e8/call write-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp - # . print-int32-buffered(out, base) + # . write-int32-hex-buffered(out, base) # . . push args ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 0xc/disp8 . # push *(ebp+12) ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 8/disp8 . # push *(ebp+8) # . . call - e8/call print-int32-buffered/disp32 + e8/call write-int32-hex-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp # . write-buffered(out, "/base ") @@ -3207,12 +3207,12 @@ $emit-indirect-mode:emit-sib: e8/call write-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp - # . print-int32-buffered(out, index) + # . write-int32-hex-buffered(out, index) # . . push args ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 0x10/disp8 . # push *(ebp+16) ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 8/disp8 . # push *(ebp+8) # . . call - e8/call print-int32-buffered/disp32 + e8/call write-int32-hex-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp # . write-buffered(out, "/index ") @@ -3223,12 +3223,12 @@ $emit-indirect-mode:emit-sib: e8/call write-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp - # . print-int32-buffered(out, scale) + # . write-int32-hex-buffered(out, scale) # . . push args ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 0x14/disp8 . # push *(ebp+20) ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 8/disp8 . # push *(ebp+8) # . . call - e8/call print-int32-buffered/disp32 + e8/call write-int32-hex-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp # . write-buffered(out, "/scale ") @@ -3239,12 +3239,12 @@ $emit-indirect-mode:emit-sib: e8/call write-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp - # . print-int32-buffered(out, disp) + # . write-int32-hex-buffered(out, disp) # . . push args ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 0x18/disp8 . # push *(ebp+24) ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 8/disp8 . # push *(ebp+8) # . . call - e8/call print-int32-buffered/disp32 + e8/call write-int32-hex-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp # . write-buffered(out, "/disp32") @@ -3270,12 +3270,12 @@ $emit-indirect-mode:emit-disp: e8/call write-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp - # . print-int32-buffered(out, base) + # . write-int32-hex-buffered(out, base) # . . push args ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 0xc/disp8 . # push *(ebp+12) ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 8/disp8 . # push *(ebp+8) # . . call - e8/call print-int32-buffered/disp32 + e8/call write-int32-hex-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp # . write-buffered(out, "/rm32 ") @@ -3286,12 +3286,12 @@ $emit-indirect-mode:emit-disp: e8/call write-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp - # . print-int32-buffered(out, disp) + # . write-int32-hex-buffered(out, disp) # . . push args ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 0x18/disp8 . # push *(ebp+24) ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 8/disp8 . # push *(ebp+8) # . . call - e8/call print-int32-buffered/disp32 + e8/call write-int32-hex-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp # . write-buffered(out, "/disp32") @@ -3313,12 +3313,12 @@ $emit-indirect-mode:emit-indirect: e8/call write-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp - # . print-int32-buffered(out, base) + # . write-int32-hex-buffered(out, base) # . . push args ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 0xc/disp8 . # push *(ebp+12) ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp . . . . 8/disp8 . # push *(ebp+8) # . . call - e8/call print-int32-buffered/disp32 + e8/call write-int32-hex-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp # . write-buffered(out, "/rm32") @@ -4128,12 +4128,12 @@ $next-hex-int:abort: 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp # . . restore eax 58/pop-to-eax - # . print-int32-buffered(Stderr, eax) + # . write-int32-hex-buffered(Stderr, eax) # . . push args 50/push-eax 68/push Stderr/imm32 # . . call - e8/call print-int32-buffered/disp32 + e8/call write-int32-hex-buffered/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 8/imm32 # add to esp # . flush(Stderr) |