remove line feed characters xD
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user