Clear f
The contents of register ‘f’ are cleared and the Z bit is set.
[the_ad id=”3059″]Syntax:
[ label ] CLRF f
Operation:
00h → (f)
1 → Z
Operands:
- f is from 0 to 127 (decimal)
Status Affected: Z
Example:
CLRF REG
Before instruction:
REG = 0xFF Z = 0
After instruction:
REG = 0x00 Z = 1[the_ad id=”3059″]
Example:
CLRF REG
Before instruction:
REG = b'11101110 Z = 0
After instruction:
REG = b'00000000' Z = 1