/opcodes/sla

Arithmetic // SLA (Shift Left Arithmetic)

Description

An arithmetic shift left 1 bit position is performed on the contents of operand m. The contents of bit 7 are copied to the Carry flag. Bit 0 is the least-significant bit.

Example

Register L contains the following data. 76534 2 10 10101 0 01 Upon the execution of an SLA L instruction, Register L and the Carry flag now contain: C 76534 2 10 1 01100 0 10

Opcodes