Keil Logo

CLR

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

See Also: SETB

CLR A
C AC F0 RS1 RS0 OV   P
Bytes 1
Cycles 1
Encoding
11100100
Operation
CLR
A = 0
Example
CLR A
CLR bit
C AC F0 RS1 RS0 OV   P
Bytes 2
Cycles 1
Encoding
11000010 bit
Operation
CLR
(bit)  = 0
Example
CLR 01h
CLR C
C AC F0 RS1 RS0 OV   P
Bytes 1
Cycles 1
Encoding
11000011
Operation
CLR
C = 0
Example
CLR C
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.