Syntax: ROL Rd
Operation: Rd<0> = C : Rd<n+1> = Rd<n> : C = Rd<7>
Flags: Z,C,N,V,H
This operation rotates the register left 1 bit throught the carry flag. The LSB is set to the previous contents of the carry flag, which is set to the previous MSB. It is implemented as an ADC instruction with both registers the same.
Example:
ROL R31
ROL R0
|
|
|