8000 minix/lib/ack/i386/em/em_rol.s at v3.1.4 · ledinhminh/minix · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
executable file
·
20 lines (19 loc) · 312 Bytes

em_rol.s

File metadata and controls

executable file
·
20 lines (19 loc) · 312 Bytes
.sect .text; .sect .rom; .sect .data; .sect .bss
.sect .text
.define .rol
! #bytes in eax
.rol:
pop edx ! return address
cmp eax,4
jne 1f
pop eax
pop ecx
rol eax,cl
push eax
jmp edx
1:
.extern EODDZ
.extern .trp
mov eax,EODDZ
push edx
jmp .trp
0