Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;examples
- ;---------------------------
- ; rotate left
- mov ax, 0xF000
- rol ax, 4
- = 0x000F
- ;---------------------------
- ;---------------------------
- ; shift left
- mov ax, 0x0050
- shl ax, 8
- = 0x5000
- ;---------------------------
- ; the same but we gained some space
- mov ax, 0x0050 << 8
- = 0x5000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement