summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2026-03-08 11:23:46 +0100
committerandromeda <andromeda@lenovo>2026-03-08 11:23:46 +0100
commit172566dfe363d175c76cee00917f7c31cf486a17 (patch)
treeace9f115a1bb8b0d3a9ccefebd953d53e057b268
parentf4cadcfff92bb1e03d7f5839f24e770141bbeef9 (diff)
remove line feed characters xD
-rw-r--r--twasm/asm/main.asm26
1 files changed, 13 insertions, 13 deletions
diff --git a/twasm/asm/main.asm b/twasm/asm/main.asm
index e4d8b86..73abda4 100644
--- a/twasm/asm/main.asm
+++ b/twasm/asm/main.asm
@@ -415,8 +415,8 @@ elemb:
mov rax, 1 ; return 1; dl an element of list
ret
- .f db "found", 0x0D, 0x0A, 0x00
- .nf db "not found", 0x0D, 0x0A, 0x00
+ .f db "found", 0x0A, 0x00
+ .nf db "not found", 0x0A, 0x00
; ------------------------------------------------------------------------------
; clear_token_table
@@ -477,7 +477,7 @@ run_tests:
call test_identify_next_token
ret
- .msg db "running test suite...", 0x0D, 0x0A, 0x00
+ .msg db "running test suite...", 0x0A, 0x00
; ------------------------------------------------------------------------------
; test_copy_byte
@@ -1039,18 +1039,18 @@ tokens:
.length5:
.end:
-msg_welcome db "Welcome to Twasm", 0x0D, 0x0A, 0x00
-msg_halt db "halted.", 0x0D, 0x0A, 0x00
+msg_welcome db "Welcome to Twasm", 0x0A, 0x00
+msg_halt db "halted.", 0x0A, 0x00
msg_pass:
- db 0x0D, 0x0A
+ db 0x0A
times (TEST_LINE_LENGTH + .start - .end) db " ", ; right align
.start db "passed."
- .end db 0x0D, 0x0A, 0x00
+ .end db 0x0A, 0x00
msg_fail:
- db 0x0D, 0x0A
+ db 0x0A
times (TEST_LINE_LENGTH + .start - .end) db " ",
.start db "failed."
- .end db 0x0D, 0x0A, 0x00
+ .end db 0x0A, 0x00
test_byte db "Q" ; unterminated, just a byte chillin
test_token_null db "TestTokn", 0x00 ; followed by null terminator. Quad word
@@ -1060,11 +1060,11 @@ test_elemb_5 db 0x54, 0x00, 0x21, 0x20, 0x34
token_terminator_8 db 0x00, " ", 0x0A, 0x0D, ",", 0x00, 0x00, 0x00
-debug_string db "debug_string", 0x0D, 0x0A, 0x00
+debug_string db "debug_string", 0x0A, 0x00
program:
- db "xor eax, eax", 0x0D, 0x0A
- db "inc rax", 0x0D, 0x0A
- db "hlt", 0x0D, 0x0A
+ db "xor eax, eax", 0x0A
+ db "inc rax", 0x0A
+ db "hlt", 0x0A
db 0x00
.size db $ - program - 1