diff options
-rw-r--r-- | subx/074print-int-decimal.subx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/074print-int-decimal.subx b/subx/074print-int-decimal.subx index a3e2eb9e..b7994c68 100644 --- a/subx/074print-int-decimal.subx +++ b/subx/074print-int-decimal.subx @@ -81,8 +81,8 @@ $print-int32-decimal:write-loop: 8b/copy 0/mod/indirect 3/rm32/EBX . . . 1/r32/ECX . . # ECX = *EBX # . ECX = &out->data[out->write] 8d/copy-address 1/mod/*+disp8 4/rm32/sib 3/base/EBX 1/index/ECX . 1/r32/ECX 0xc/disp8 . # copy EBX+ECX+12 to ECX - # . out->data[out->write] = EAX - 89/copy 0/mod/indirect 1/rm32/ECX . . . 0/r32/ECX . . # *ECX = EAX + # . out->data[out->write] = AL + 88/copy-byte 0/mod/indirect 1/rm32/ECX . . . 0/r32/AL . . # copy AL to byte at *ECX # out->write++ ff 0/subop/increment 0/mod/indirect 3/rm32/EBX . . . . . . # increment *EBX eb/jump $print-int32-decimal:write-loop/disp8 |