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

19 lines
322 B
ArmAsm

.sect .text; .sect .rom; .sect .data; .sect .bss
.sect .text
.define .sbi
! #bytes in ecx , top of stack in eax
.sbi:
pop ebx ! return subress
cmp ecx,4
jne 1f
pop ecx
sub eax,ecx
neg eax
jmp ebx
1:
.extern EODDZ
.extern .trp
mov eax,EODDZ
push ebx
jmp .trp