Intel 8XC251SQ Microscope & Magnifier User Manual


 
8XC251SA, SB, SP, SQ USER’S MANUAL
A-122
SRA WRj
Binary Mode Source Mode
Bytes: 32
States: 21
Hex Code in: Binary Mode = [A5][Encoding]
Source Mode = [Encoding]
Operation: SRA
(WRj).15 (WRj).15
(WRj).b (WRj).b+1
CY (WRj).0
SRL <src>
Function: Shift logical right by 1 bit
Description: SRL shifts the specified variable to the right by 1 bit, replacing the MSB with a zero. The bit
shifted out (LSB) is stored in the CY bit.
Flags:
Example: Register 1 contains 0C5H (11000101B). After executing the instruction
SRL register 1
Register 1 contains 62H (01100010B) and CY = 1.
Variations
SRL Rm
Binary Mode Source Mode
Bytes: 32
States: 21
Hex Code in: Binary Mode = [A5][Encoding]
Source Mode = [Encoding]
Operation: SRL
(Rm).70
(Rm).a (Rm).a+1
CY (Rm).0
[Encoding] 0 0 0 0 1 1 1 0 t t t t 0 1 0 0
CY AC OV N Z
——✓✓
[Encoding] 0 0 0 1 1 1 1 0 s s s s 0 0 0 0