Datasheet

FS98O22
Rev. 1.6 140/146
IORWF
Inclusive OR W with f
Syntax IORWF f, d
0 f FFh
d [0,1]
Operation
[Destination] [W] | [f]
Flag Affected Z
Description Inclusive OR the content of the W register and [f]. If d is 0, the result is stored in the W
register. If d is 1, the result is stored back in [f].
Cycle 1
Example:
IORWF OPERAND,1
Before instruction:
W = 88h, OPERAND = 23h
After instruction:
W = 88h, OPERAND = Abh
MOVFW
Move f to W
Syntax MOVFW f
0 f FFh
Operation
[W] [f]
Flag Affected None
Description Move data from [f] to the W register.
Cycle 1
Example:
MOVFW OPERAND
Before instruction:
W = 88h, OPERAND = 23h
After instruction:
W = 23h, OPERAND = 23h
MOVLW
Move literal to W
Syntax MOVLW k
0 k FFh
Operation
[W] k
Flag Affected None
Description Move the eight-bit literal “k” to the content of the W register.
Cycle 1
Example:
MOVLW 23h
Before instruction:
W = 88h
After instruction:
W = 23h
MOVWF
Move W to f
Syntax MOVWF f
0 f FFh
Operation
[f] [W]
Flag Affected None
Description Move data from the W register to [f].
Cycle 1
Example:
MOVWF OPERAND
Before instruction:
W = 88h, OPERAND = 23h
After instruction:
W = 88h, OPERAND = 88h
NOP
No Operation
Syntax NOP
Operation No Operation
Flag Affected None
Description No operation. NOP is used for one instruction cycle delay.
Cycle 1
FORTUNE'
Properties
For Reference Only