minix/lib/i386/em/em_sli.s
2005-04-21 14:53:53 +00:00

21 lines
312 B
ArmAsm
Executable file

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