remove line feed characters xD

This commit is contained in:
andromeda
2026-03-08 11:23:46 +01:00
parent f4cadcfff9
commit 172566dfe3

View File

@@ -415,8 +415,8 @@ elemb:
mov rax, 1 ; return 1; dl an element of list mov rax, 1 ; return 1; dl an element of list
ret ret
.f db "found", 0x0D, 0x0A, 0x00 .f db "found", 0x0A, 0x00
.nf db "not found", 0x0D, 0x0A, 0x00 .nf db "not found", 0x0A, 0x00
; ------------------------------------------------------------------------------ ; ------------------------------------------------------------------------------
; clear_token_table ; clear_token_table
@@ -477,7 +477,7 @@ run_tests:
call test_identify_next_token call test_identify_next_token
ret ret
.msg db "running test suite...", 0x0D, 0x0A, 0x00 .msg db "running test suite...", 0x0A, 0x00
; ------------------------------------------------------------------------------ ; ------------------------------------------------------------------------------
; test_copy_byte ; test_copy_byte
@@ -1039,18 +1039,18 @@ tokens:
.length5: .length5:
.end: .end:
msg_welcome db "Welcome to Twasm", 0x0D, 0x0A, 0x00 msg_welcome db "Welcome to Twasm", 0x0A, 0x00
msg_halt db "halted.", 0x0D, 0x0A, 0x00 msg_halt db "halted.", 0x0A, 0x00
msg_pass: msg_pass:
db 0x0D, 0x0A db 0x0A
times (TEST_LINE_LENGTH + .start - .end) db " ", ; right align times (TEST_LINE_LENGTH + .start - .end) db " ", ; right align
.start db "passed." .start db "passed."
.end db 0x0D, 0x0A, 0x00 .end db 0x0A, 0x00
msg_fail: msg_fail:
db 0x0D, 0x0A db 0x0A
times (TEST_LINE_LENGTH + .start - .end) db " ", times (TEST_LINE_LENGTH + .start - .end) db " ",
.start db "failed." .start db "failed."
.end db 0x0D, 0x0A, 0x00 .end db 0x0A, 0x00
test_byte db "Q" ; unterminated, just a byte chillin test_byte db "Q" ; unterminated, just a byte chillin
test_token_null db "TestTokn", 0x00 ; followed by null terminator. Quad word 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 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: program:
db "xor eax, eax", 0x0D, 0x0A db "xor eax, eax", 0x0A
db "inc rax", 0x0D, 0x0A db "inc rax", 0x0A
db "hlt", 0x0D, 0x0A db "hlt", 0x0A
db 0x00 db 0x00
.size db $ - program - 1 .size db $ - program - 1