You are here : assembly8051CLR

CLR - 8051

The CLR instruction sets the specified destination operand to a value of 0.


Syntax

CLR A


Example

;Clears Accumulator
CLR A		;1 byte 1 cycle
;Clears Carry
CLR C		;1 byte 1 cycle
;Clears Bit
CLR 01h		;2 bytes 1 cycle


Output / Return Value


Limitations


Alternatives / See Also


Reference