CLRF

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:

Before instruction:
After instruction:
[the_ad id=”3059″]

Example:

Before instruction:
After instruction: