MOVLW

Move Literal to W

The eight-bit literal 'k' is loaded to W.

[the_ad id="3059"]

Syntax:

[ label ] MOVLW k

Operation:

(k) → (W),

Operands:

  • k is from 0 to 255

Status Affected: None

Example:

MOVLW 0x02

Before instruction:

W = 0x00

After instruction:

W = 0x02

[the_ad id="3059"]