sll
Shift left logical
Shifts a register or memory byte left one bit, copying bit 7 to C and putting one into bit 0.
- ● set from the result
- 0 always 0
Forms
-
The contents of
rare shifted left one bit position. The contents of bit 7 are put into the carry flag and a one is put into bit 0. sll2 bytes · 15 cyclesThe contents of (HL) are shifted left one bit position. The contents of bit 7 are put into the carry flag and a one is put into bit 0.
-
The contents of the memory location pointed to by IX plus
ddare shifted left one bit position. The contents of bit 7 are put into the carry flag and a one is put into bit 0. The result is then stored inr. -
The contents of the memory location pointed to by IX plus
ddare shifted left one bit position. The contents of bit 7 are put into the carry flag and a one is put into bit 0.
Operands
.org 0x8000
ld b, 3
sll b
halt