ack/mach/i86/libem/nop.s

25 lines
454 B
ArmAsm
Raw Normal View History

1987-01-08 10:13:48 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss
.sect .text
1985-02-07 15:33:13 +00:00
.define .nop
1987-01-08 10:13:48 +00:00
.extern printd, printc, hol0
1985-02-07 15:33:13 +00:00
SIO_S = 0xDA
SIO_D = 0xD8
RXRDY = 0x02
.nop:
mov ax,(hol0)
call printd
! movb al,' '
! call printc
! mov ax,sp
! call printd
!1:
! inb SIO_S
! andb al,RXRDY
! jz 1b
! inb SIO_D
! call printc
movb al,'\n'
jmp printc