i dont wish to deal with logic just yet

This commit is contained in:
anon
2024-07-05 03:37:27 +02:00
parent 84a7245e2b
commit 016ef7f019

View File

@ -16,7 +16,7 @@ procedure highlight
s32 byte s32 byte
begin begin
loop loop
if byte = 0x90 then if /* byte = 0x90 */ then
fastcall echo_new_line fastcall echo_new_line
fastcall terminal_style EFFECT_NORMAL COLOUR_YELLOW fastcall terminal_style EFFECT_NORMAL COLOUR_YELLOW
fastcall echo_byte [buffer + offset] fastcall echo_byte [buffer + offset]
@ -25,7 +25,7 @@ begin
fastcall echo_byte [buffer + offset] fastcall echo_byte [buffer + offset]
end if end if
inc offset inc offset
if offset = size then if /* offset = size */ then
break break
end if end if
end loop end loop
@ -39,7 +39,7 @@ program xop
u8 buffer = NULL; u8 buffer = NULL;
begin begin
if argc != 2 then if /* argc != 2 */ then
fatal_failure(1, "xop: xop input") fatal_failure(1, "xop: xop input")
end if end if