Arithmetic // SLA (Shift Left Arithmetic)
0xCB24
- u52004
The contents of h 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 h", "opcode": "sla", "operand": [ "h" ], "code": "CB24", "bytes": 2, "time": 8, "description": "The contents of h 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)" }