holey-bytes/lang/tests/son_tests_inline.txt

20 lines
318 B
Plaintext
Raw Normal View History

main:
2024-11-12 10:11:39 -06:00
LI64 r2, 8d
ECA
2024-11-13 03:28:16 -06:00
LI64 r11, 6d
LRA r8, r0, :gb
LD r10, r8, 0a, 8h
CMPU r12, r10, r0
2024-11-12 10:11:39 -06:00
CMPUI r12, r12, 0d
2024-11-13 03:28:16 -06:00
OR r2, r12, r0
2024-11-12 13:42:04 -06:00
ANDI r2, r2, 255d
JNE r2, r0, :0
2024-11-13 03:28:16 -06:00
CP r7, r11
JMP :1
2024-11-12 13:42:04 -06:00
0: LI64 r7, 1d
2024-11-13 03:28:16 -06:00
1: SUB64 r1, r7, r11
JALA r0, r31, 0a
2024-11-13 03:28:16 -06:00
code size: 125
ret: 0
status: Ok(())