ack/mach/mips/libem/sar4.s
2018-09-10 23:20:52 +02:00

25 lines
285 B
ArmAsm

#
.sect .text; .sect .rom; .sect .data; .sect .bss
/* Store to bounds-checked array.
*
* Stack: ( element array-adr index descriptor-adr -- )
*/
.sect .text
.define .sar4
.sar4:
mov r25, ra
jal .aar4
nop
/* pass r2 = size from .aar4 to .sts4
jal .sts4
nop
jr r25
nop