IP2022 Data Sheet
www.ubicom.com
43
4.5
Key to Abbreviations and Symbols
4.6
Instruction Set Summary Tables
Table 4-2 through Table 4-7 list all of the IP2022
instructions, organized by category. For each instruction,
the table shows the instruction mnemonic (as written in
assembly language), a brief description of what the
instruction does, the number of instruction cycles required
for execution, the binary opcode, and the flags in the
STATUS register affected by the instruction.
Although the number of clock cycles for execution is
typically 1, for the skip instructions the exact number of
cycles depends whether the skip is taken or not taken.
Taking the skip adds 1 cycle. The effect of extended skip
instructions (i.e. a skip followed by a loadh, loadl, or
page instruction) is not shown.
For detailed information on each instruction, see the
IP2022 Users Manual
Symbol
Description
W
Working register
fr
File register field (a 9-bit file register address
specified in the instruction)
PCL
Virtual register for direct PC modification (glo-
bal file register 0x009)
STATUS STATUS register (global file register 0x00B)
IPH
Indirect Pointer High - Upper half of pointer for
indirect addressing (global file register 0x004)
IPL
Indirect Pointer Low - Lower half of pointer for
indirect addressing (global file register 0x005)
DPH
Upper half of data pointer for indirect-with-off-
set addressing (global file register 0x00C)
DPL
Lower half of data pointer for indirect-with-off-
set addressing (global file register 0x00D)
SPH
Upper half of stack pointer for indirect-with-off-
set addressing (global file register 0x006)
SPL
Lower half of stack pointer for indirect-with-off-
set addressing (global file register 0x007)
C
Carry bit in the STATUS register (bit 0)
DC
Digit Carry bit in the STATUS register (bit 1)
Z
Zero bit in the STATUS register (bit 2
BO
Brown-out bit in the STATUS register (bit 3)
WD
Watchdog Timeout bit in the STATUS register
(bit 4)
PA2:PA0 Page bits in the STATUS register (bits 7:5)
WDT
Watchdog Timer counter and prescaler
f
File register address bit in opcode
k
Constant value bit in opcode
n
Numerical value bit in opcode
bit
Bit position selector bit in opcode
,
File register/bit selector separator
(e.g. clrb status,z)
#
Immediate literal designator in assembly lan-
guage instruction (e.g. mov w,#0xff)
#lit8
8-bit literal value in assembly language
instruction
addr13
13-bit address in assembly language instruc-
tion
addr16
16-bit address in assembly language instruc-
tion
(address) Contents of memory referenced by address
|
Logical OR
||
Concatenation
^
Logical exclusive OR
&
Logical AND
!=
inequality
Symbol
Description