minix/lib/ack/libe/arch/i386/em/em_ngi.s

20 lines
296 B
ArmAsm
Raw Normal View History

.sect .text; .sect .rom; .sect .data; .sect .bss
.sect .text
.define .ngi
! #bytes in eax
.ngi:
pop ebx ! return address
cmp eax,4
jne 1f
pop ecx
neg ecx
push ecx
jmp ebx
1:
.extern EODDZ
.extern .trp
mov eax,EODDZ
push ebx
jmp .trp