holey-bytes/lang/tests/codegen_tests_writing_into_string.txt

27 lines
556 B
Plaintext
Raw Normal View History

2024-09-19 06:40:03 -05:00
inl:
ADDI64 r254, r254, -16d
ST r31, r254, 0a, 16h
LRA r32, r0, :"luhahah\0"
LD r31, r254, 0a, 16h
ADDI64 r254, r254, 16d
JALA r0, r31, 0a
2024-09-08 10:11:33 -05:00
main:
ADDI64 r254, r254, -8d
ST r31, r254, 0a, 8h
JAL r31, r0, :outl
JAL r31, r0, :inl
2024-09-08 10:11:33 -05:00
LD r31, r254, 0a, 8h
ADDI64 r254, r254, 8d
JALA r0, r31, 0a
outl:
ADDI64 r254, r254, -24d
ST r31, r254, 0a, 24h
2024-09-13 11:23:00 -05:00
LRA r32, r0, :"whahaha\0"
LI64 r33, 0d
LD r31, r254, 0a, 24h
ADDI64 r254, r254, 24d
2024-09-08 10:11:33 -05:00
JALA r0, r31, 0a
code size: 239
2024-09-08 10:11:33 -05:00
ret: 0
status: Ok(())