Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- org 100h
- l0: mov si,array
- mov dx,3
- xor cx,cx
- xor bx,bx
- l1: cmp cx,3
- jb l3
- l2: xor bx,ax
- shl ax,3
- sub cx,3
- jmp l1
- l3: dec dx
- js l4
- push cx
- xor cx,3
- shr ax,cl
- lodsb
- shl ax,cl
- pop cx
- add cx,8
- jmp l2
- l4: shr bx,8
- and bx,3
- int3 ; Вывод BX сам.
- retn
- array db 11001100b,10101011b,00011101b
Advertisement
Add Comment
Please, Sign In to add comment