Operation: | CLR |
Function: | Clear Register |
Syntax: | CLR register |
Instructions | OpCode | Bytes | Cycles | Flags |
CLR bit addr | 0xC2 | 2 | 1 | None |
CLR C | 0xC3 | 1 | 1 | C |
CLR A | 0xE4 | 1 | 1 | None |
Description: CLR clears (sets to 0) all the bit(s) of the indicated register. If the register is a bit (including the carry bit), only the specified bit is affected. Clearing the Accumulator sets the Accumulator’s value to 0.
See Also: SETB, Instruction Set include "_footer.php"; ?>