Instruction Set ArchitectureIP2022 Users Manual
88
www.ubicom.com
cmp w,#lit8
Compare W,lit-
eral then update
STATUS
1
0111 1001 kkkk kkkk C, DC, Z
cse w,fr
Compare W,fr
then skip if equal
1/2 0100 001f ffff ffff
None
cse w,#lit8
Compare W,lit-
eral then skip if
equal
1/2 0111 0111 ffff ffff
None
csne w,fr
Compare W,fr
then skip if not
equal
1/2 0100 000f ffff ffff
None
csne w,#lit8 Compare W,lit-
eral then skip if
not equal
1/2
0111 0110 kkkk kkkk
None
cwdt
Clear Watchdog
Timer
1
0000 0000 0000 0100
None
dec fr
Decrement fr
into fr
1
0000 111f ffff ffff
Z
dec w,fr
Decrement fr
into W
1
0000 110f ffff ffff
Z
Table 3-4 Arithmetic and Shift Instructions (continued)
Assembler
Syntax
Description
Opcode