Arithmetic // SLA (Shift Left Arithmetic)
0xCB21
- u52001
The contents of c are shifted left one bit position. The contents of bit 7 are copied to the carry flag and a zero is put into bit 0.
T States | Bytes |
---|---|
8 | 2 |
S affected as defined
Z affected as defined
H reset
P/V detects parity
N reset
C affected as defined
{ "flags": { "S": "affected as defined", "Z": "affected as defined", "H": "reset", "P/V": "detects parity", "N": "reset", "C": "affected as defined" }, "operation": "sla c", "opcode": "sla", "operand": [ "c" ], "code": "CB21", "bytes": 2, "time": 8, "description": "The contents of c are shifted left one bit position. The contents of bit 7 are copied to the carry flag and a zero is put into bit 0.", "category": "Arithmetic", "subCategory": "SLA (Shift Left Arithmetic)" }