8000 minix/lib/ack/i386/em/em_dvi.s at R3.1.5 · lukegithub/minix · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
executable file
·
21 lines (20 loc) · 406 Bytes

em_dvi.s

File metadata and controls

executable file
·
21 lines (20 loc) · 406 Bytes
.sect .text; .sect .rom; .sect .data; .sect .bss
.define .dvi
! #bytes in eax
.sect .text
.dvi:
pop ebx ! return address
cmp eax,4
jne 1f
pop eax
cwd
pop ecx
idiv ecx
push eax
jmp ebx
1:
.extern EODDZ
.extern .trp
mov eax,EODDZ
push ebx
jmp .trp
0