CLRW

Clear W

W register is cleared. Zero bit (Z) is set.

[the_ad id=”3059″]

Syntax:

[ label ] CLRW

Operation:

00h → (W)
1 → Z

Operands:

  • None

Status Affected: Z

Example:

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

Example:

Before instruction:
After instruction: