English
Language : 

PIC17C75X Datasheet, PDF (206/320 Pages) Microchip Technology – High-Performance 8-Bit CMOS EPROM Microcontrollers
PIC17C75X
NEGW
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Q1
Decode
Negate W
[label] NEGW f,s
0 ≤ F ≤ 255
s ∈ [0,1]
WREG + 1 → (f);
WREG + 1 → s
OV, C, DC, Z
0010 110s ffff ffff
WREG is negated using two’s comple-
ment. If 's' is 0 the result is placed in
WREG and data memory location 'f'. If
's' is 1 the result is placed only in data
memory location 'f'.
1
1
Q2
Read
register 'f'
Q3
Process
Data
Q4
Write
register 'f'
and other
specified
register
Example:
NEGW REG,0
Before Instruction
WREG = 0011 1010 [0x3A],
REG = 1010 1011 [0xAB]
After Instruction
WREG = 1100 0111 [0xC6]
REG = 1100 0111 [0xC6]
NOP
Syntax:
Operands:
Operation:
Status Affected:
Encoding:
Description:
Words:
Cycles:
Q Cycle Activity:
Q1
Decode
No Operation
[ label ] NOP
None
No operation
None
0000 0000
No operation.
1
1
0000
0000
Q2
No
operation
Q3
No
operation
Q4
No
operation
Example:
None.
DS30264A-page 206
© 1997 Microchip Technology Inc.