SX Embedded Controller Instruction

PAGE addr

Description: Transfer addr .11:addr .9 into PA2 : PA0 , will delay skipping
Operation: page = addr >> 9
Flags affected: PA0..2
Registers affected: -
Sources referenced: -
Cycles: 1
Opcode:
Details: SX Users Manual page # 112 # 34
Microchip PIC syntax:
Notes:

PAGE n - The three literal bits of "n" are loaded into the page-select bits PA2:PA0 in the STATUS register. This normally prepares a GOTO or CALL across a page boundary. PA2 is currently unused since 2K of instruction memory is only four pages.

Skipping a page instruction will also cause the instruction following the page instruction to be skipped. This is designed to handle long calls which must be coded as a page then a call. See Skip for more details.

See: