diff options
| author | andromeda <andromeda@lenovo> | 2026-04-02 08:26:37 +0200 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-04-02 08:26:37 +0200 |
| commit | 8f3d6b91f9f568c2dc7e73562fc2cacc65ac07ff (patch) | |
| tree | 80419b99da242b95783dda2a47f3901f3b140a66 | |
| parent | 18125e6b204aa0473cca8b2d87b31d521e41ace2 (diff) | |
make out easier xD
| -rw-r--r-- | twasm/asm/main.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/twasm/asm/main.asm b/twasm/asm/main.asm index aec5199..2a0cf2a 100644 --- a/twasm/asm/main.asm +++ b/twasm/asm/main.asm @@ -1987,7 +1987,7 @@ print: mov al, [rsi] cmp al, 0x00 je .done - out dx, al + out dx, ax inc rsi jmp .loop .done: @@ -3050,7 +3050,7 @@ program: db " mov al, [rsi]", 0x0A db " cmp al, 0x00", 0x0A db " je .done", 0x0A - db " out dx, al", 0x0A + db " out dx, ax", 0x0A db " inc rsi", 0x0A db " jmp .loop", 0x0A db " .done:", 0x0A |
