source: trunk/minix/lib/i86/em/em_ior.s@ 20

Last change on this file since 20 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 171 bytes
Line 
1.define .ior
2.text
3
4 ! #bytes in cx
5.ior:
6 pop bx ! return address
7 mov dx,di
8 mov di,sp
9 add di,cx
10 sar cx,#1
111:
12 pop ax
13 or ax,(di)
14 stos
15 loop 1b
16 mov di,dx
17 jmp (bx)
Note: See TracBrowser for help on using the repository browser.