Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .model small
- .stack 100h
- .data
- input dw 1DF2h
- ;7666
- .code
- start:
- mov ax, @data
- mov ds, ax
- ;привет даня
- mov ax, input
- and ax, 1111111111101011b
- mov bx, input
- and bx, 0000000000000100b
- shl bx, 2
- mov cx, input
- and cx, 0000000000010000b
- shr cx, 2
- or ax, bx
- or ax, cx
- shr ax, 3
- not ax
- mov ax, 4c00h
- int 21h
- end start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement