1
0
Fork 0
forked from koniifer/ableos
ableos-framebuffer/hblang/tests/codegen_tests_writing_into_string.txt

41 lines
768 B
Plaintext
Raw Normal View History

2024-09-08 10:11:33 -05:00
main:
ADDI64 r254, r254, -8d
ST r31, r254, 0a, 8h
LI64 r2, 10d
LI64 r3, 10d
JAL r31, r0, :outl
LI64 r1, 0d
LD r31, r254, 0a, 8h
ADDI64 r254, r254, 8d
JALA r0, r31, 0a
outl:
ADDI64 r254, r254, -48d
ST r31, r254, 0a, 48h
CP r32, r2
CP r33, r3
LRA r34, r0, :
CP r35, r34
LI64 r36, 1d
ST r36, r35, 0a, 1h
CP r35, r34
ADDI64 r35, r35, 1d
LI64 r36, 2d
ST r36, r35, 0a, 1h
CP r35, r34
ADDI64 r35, r35, 2d
ST r32, r35, 0a, 2h
CP r35, r34
ADDI64 r35, r35, 4d
ST r33, r35, 0a, 4h
LI64 r2, 3d
LI64 r3, 3d
CP r4, r34
LI64 r5, 8d
ECA
LD r31, r254, 0a, 48h
ADDI64 r254, r254, 48d
JALA r0, r31, 0a
code size: 335
ret: 0
status: Ok(())