minix/lib/ack/i386/em/em_adi.s
2009-11-09 10:26:00 +00:00

18 lines
307 B
ArmAsm

.sect .text; .sect .rom; .sect .data; .sect .bss
.define .adi
! #bytes in ecx , top of stack in eax
.sect .text
.adi:
pop ebx ! return address
cmp ecx,4
jne 9f
pop ecx
add eax,ecx
jmp ebx
9:
.extern EODDZ
.extern .trp
mov eax,EODDZ
push ebx
jmp .trp