sll
Shift left logical
Shifts a register or memory byte left one bit, copying bit 7 to C and putting one into bit 0.
SZHP/VNC ●●0●0●
- ● depends on the result
- 0 always 0
Forms
-
Shifts
rleft one bit position. Copies bit 7 to the carry flag and puts a one into bit 0. sll2 bytes15 cyclesShifts (HL) left one bit position. Copies bit 7 to the carry flag and puts a one into bit 0.
-
Shifts the memory location pointed to by IX plus
ddleft one bit position. Copies bit 7 to the carry flag and puts a one into bit 0. Also stores the result inr. -
Shifts the memory location pointed to by IX plus
ddleft one bit position. Copies bit 7 to the carry flag and puts a one into bit 0.
Operands
.org 0x8000
ld b, 3
sll b
halt