diff options
-rw-r--r-- | subx/apps/crenshaw2-1.subx | 16 | ||||
-rw-r--r-- | subx/apps/factorial.subx | 10 | ||||
-rw-r--r-- | subx/examples/ex11.subx | 8 |
3 files changed, 17 insertions, 17 deletions
diff --git a/subx/apps/crenshaw2-1.subx b/subx/apps/crenshaw2-1.subx index 8ffded90..00481453 100644 --- a/subx/apps/crenshaw2-1.subx +++ b/subx/apps/crenshaw2-1.subx @@ -339,10 +339,10 @@ write_stderr: # s : (address array byte) -> <void> b8/copy . . . . . . . 4/imm32/write # copy 1 to EAX cd/syscall 0x80/imm8 # restore registers - 5b/pop-EBX - 5a/pop-EDX - 59/pop-ECX - 58/pop-EAX + 5b/pop-to-EBX + 5a/pop-to-EDX + 59/pop-to-ECX + 58/pop-to-EAX # end 89/copy 3/mod/direct 4/rm32/ESP . . . 5/r32/EBP . . # copy EBP to ESP 5d/pop-to-EBP @@ -370,10 +370,10 @@ write_stdout: # s : (address array byte) -> <void> b8/copy . . . . . . . 4/imm32/write # copy 1 to EAX cd/syscall 0x80/imm8 # restore registers - 5b/pop-EBX - 5a/pop-EDX - 59/pop-ECX - 58/pop-EAX + 5b/pop-to-EBX + 5a/pop-to-EDX + 59/pop-to-ECX + 58/pop-to-EAX # end 89/copy 3/mod/direct 4/rm32/ESP . . . 5/r32/EBP . . # copy EBP to ESP 5d/pop-to-EBP diff --git a/subx/apps/factorial.subx b/subx/apps/factorial.subx index 5cc51b64..b6d904ba 100644 --- a/subx/apps/factorial.subx +++ b/subx/apps/factorial.subx @@ -77,7 +77,7 @@ factorial: # TODO: check for overflow $factorial:exit: # epilog - 5b/pop-EBX + 5b/pop-to-EBX 89/copy 3/mod/direct 4/rm32/ESP . . . 5/r32/EBP . . # copy EBP to ESP 5d/pop-to-EBP c3/return @@ -367,10 +367,10 @@ write_stderr: # s : (address array byte) -> <void> b8/copy . . . . . . . 4/imm32/write # copy 1 to EAX cd/syscall 0x80/imm8 # restore registers - 5b/pop-EBX - 5a/pop-EDX - 59/pop-ECX - 58/pop-EAX + 5b/pop-to-EBX + 5a/pop-to-EDX + 59/pop-to-ECX + 58/pop-to-EAX # end 89/copy 3/mod/direct 4/rm32/ESP . . . 5/r32/EBP . . # copy EBP to ESP 5d/pop-to-EBP diff --git a/subx/examples/ex11.subx b/subx/examples/ex11.subx index b651bf22..86b7e8b4 100644 --- a/subx/examples/ex11.subx +++ b/subx/examples/ex11.subx @@ -291,10 +291,10 @@ write_stderr: # s : (address array byte) -> <void> b8/copy . . . . . . . 4/imm32/write # copy 1 to EAX cd/syscall 0x80/imm8 # restore registers - 5b/pop-EBX - 5a/pop-EDX - 59/pop-ECX - 58/pop-EAX + 5b/pop-to-EBX + 5a/pop-to-EDX + 59/pop-to-ECX + 58/pop-to-EAX # end 89/copy 3/mod/direct 4/rm32/ESP . . . 5/r32/EBP . . # copy EBP to ESP 5d/pop-to-EBP |