IP2022 Users ManualInstruction Set Architecture
www.ubicom.com
189
PAGE addr16
Load Page Bits
Operation:
PA2:0 = addr(16:14)
Bits affected:
None
Opcode:
0000 0000 0001 0nnn
Description:
This  instruction  writes  a  three-bit  value  into  the
PA2:0  bits  of  the  STATUS  register  (bits  7:5).
These bits select the program memory page for
subsequent jump and subroutine call instructions.
In assembly language, the full program memory
address is specified. The assembler encodes the
three  high-order  bits  of  this  address  into  the
instruction opcode and ignores the fourteen low-
order bits.
If a skip instruction is immediately followed by a
page instruction and the tested condition is true,
then    two    instructions    are   skipped    and    the
operation consumes three cycles. This is useful
for conditional branching to another page in which
a page instruction precedes a jmp instruction. If
several  page  instructions  immediately  follow  a
skip instruction then they are all skipped plus the