16 lines
160 B
ArmAsm
16 lines
160 B
ArmAsm
.define .and
|
|
|
|
! $Header$
|
|
! #bytes in cx
|
|
.and:
|
|
pop bx ! return address
|
|
mov di,sp
|
|
add di,cx
|
|
sar cx,1
|
|
1:
|
|
pop ax
|
|
and ax,(di)
|
|
stos
|
|
loop 1b
|
|
jmp bx
|