ROL Instruction
ROL — Rotate Left |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Rotate Left 4 Bits | Rotate Right 4 Bits | Rotate Carry Left 4 Bits |
.data value BYTE 84h .code rol value, 04 movzx eax, value call WriteHex |
.data value BYTE 84h .code ror value, 04 movzx eax, value call WriteInt |
.data value BYTE 84h .code stc rcl value, 04 movzx eax, value call WriteHex |
| Output | Output | Output |
|
“Instead of getting married again, I’m going to find a woman I don’t like and give her a house.” ― Rod Stewart |