minix/lib/i86/em/em_com.s

16 lines
124 B
ArmAsm
Raw Normal View History

2005-04-21 16:53:53 +02:00
.define .com
! #bytes in cx
.text
.com:
mov bx,sp
inc bx
inc bx
sar cx,#1
1:
not (bx)
inc bx
inc bx
loop 1b
ret