holey-bytes/lang/tests/son_tests_intcast_store.txt
2024-11-13 10:28:16 +01:00

20 lines
380 B
Plaintext

main:
ADDI64 r254, r254, -24d
ST r31, r254, 16a, 8h
ADDI64 r3, r254, 0d
ADDI64 r2, r254, 8d
ST r0, r254, 0a, 8h
ST r0, r254, 8a, 8h
LI64 r4, 1024d
JAL r31, r0, :set
ANDI r1, r1, 4294967295d
LD r31, r254, 16a, 8h
ADDI64 r254, r254, 24d
JALA r0, r31, 0a
set:
CP r1, r4
JALA r0, r31, 0a
code size: 157
ret: 1024
status: Ok(())