holey-bytes/lang/tests/codegen_tests_directives.txt
2024-10-13 20:01:18 +02:00

31 lines
539 B
Plaintext

main:
ADDI64 r254, r254, -96d
ST r31, r254, 16a, 80h
LI64 r32, 10d
LI64 r33, 30d
LI64 r34, 40d
CP r35, r34
LI64 r36, 16d
LI64 r37, 8d
LI64 r38, 10d
LI64 r2, 1d
LI64 r39, 10d
ST r39, r254, 0a, 8h
LI64 r39, 20d
ST r39, r254, 8a, 8h
LD r3, r254, 0a, 16h
LI64 r5, 5d
LI64 r6, 6d
ECA
CP r39, r1
LRA r40, r0, :arbitrary text
LI64 r1, 0d
LD r31, r254, 16a, 80h
ADDI64 r254, r254, 96d
JALA r0, r31, 0a
ev: Ecall
code size: 255
ret: 0
status: Ok(())