© 2000 Scenix Semiconductor, Inc. All rights reserved. - 48 - www.scenix.com SX48BD/SX52BD/SX52BD75/SX52BD100 CALL addr8 Call Subroutine: top-of-stack = program counter + 1 PC(7:0) = addr8 program counter (8) = 0 program counter (11:9) = PA2:PA0 3 1001 kkkk kkkk none JMP addr9 Jump to Address: PC(7:0) = addr9(7:0) program counter (8) = addr9(8) program counter (11:9) = PA2:PA0 3 101k kkkk kkkk none NOP No Operation 1 0000 0000 0000 none RET Return from Subroutine (program counter = top-of-stack) 3 0000 0000 1100 none RETP Return from Subroutine Across Page Boundary (PA2:PA0 = top-of-stack (11:9) and program counter = top-of-stack) 3 0000 0000 1101 PA2, PA1, PA0 RETI Return from Interrupt (restore W, STATUS, FSR, MODE and program counter from shadow registers) 3 0000 0000 1110   all STATUS except TO, PD bits RETIW Return from Interrupt and add W to RTCC (re- store W, STATUS, FSR, MODE and program counter from shadow registers; and add W to the RTCC register) 3 0000 0000 1111   all STATUS except TO, PD bits RETW lit Return from Subroutine with Literal in W (W = lit and program counter = top-of-stack) 3 1000 kkkk kkkk none System Control Instructions BANK addr12 Load Bank Number into FSR(6:4) FSR(6:4) = addr12(10:8) 1 0000 0001 1nnn none IREAD Read Word from Instruction Memory MODE:W = data at address (MODE:W) 4 0000 0100 0001 none PAGE addr12 Load Page Number into STATUS(7:5) STATUS(7:5) = addr12(11:9) 1 0000 0001 0nnn PA2, PA1, PA0 SLEEP Power Down Mode WDT = 00h, TO = 1, stop oscillator (PD = 0, clear prescaler if assigned) 1 0000 0000 0011 TO, PD Table 16-1.  The SX Instruction Set (Continued) Mnemonic, Operands Description Cycles Opcode Flags Affected