home *** CD-ROM | disk | FTP | other *** search
- / outpt.s (emx+gcc) -- Copyright (c) 1992-1993 by Eberhard Mattes
-
- .text
-
- .globl __outpt
- .align 2, 144
- __outpt:
- 1: .byte 0xe9
- .long 0
- pushl %esi
- movl 2*4(%esp), %esi / table
- .align 2, 0x90
- 3: movl 0*4(%esi), %ecx
- jecxz 9f
- movl 1*4(%esi), %edx
- movl 2*4(%esi), %eax
- addl $3*4, %esi
- orl %eax, %eax
- jz 4f
- decl %eax
- jz 5f
- decl %eax
- jnz 9f
- rep
- outsl
- jmp 3b
-
- .align 2, 0x90
- 3: rep
- outsb
- jmp 3b
-
- .align 2, 0x90
- 4: rep
- outsw
- jmp 3b
-
- .align 2, 0x90
- 9: popl %esi
- ret
- 2: .long 1, 1b+1, __os2_emxio, 9
- L1: .asciz "emxio"
- .stabs "__os2dll", 23, 0, 0, 2b
-