IP2022 Data Sheet www.ubicom.com 43 Table 4-6  Program Control Instructions Assembler Syntax Description Cycles Opcode    Flags
Affected
call addr13 Call subroutine 3 110k kkkk kkkk kkkk None jmp addr13 Jump 3 111k kkkk kkkk kkkk None int Software interrupt 3 0000 0000 0000 0110 None nop No operation 1 0000 0000 0000 0000 None ret Return from subroutine 3 0000 0000 0000 0111 PA2:0 retnp Return from subroutine, without updating
page bits
3 0000 0000 0000 0010 None reti #lit3 Return from interrupt (see Section 3.7.4) 3 0000 0000 0000 1nnn All retw #lit8 Return from subroutine with literal into W 3 0111 1000 kkkk kkkk PA2:0 Table 4-7  System Control Instructions Assembler Syntax Description Cycles Opcode    Flags
Affected
break Software breakpoint 1 0000 0000 0000 0001 None breakx Software breakpoint, extending the skip 1 0000 0000 0000 0101 None ferase Erase a 256 word flash block 1 0000 0000 0000 0011 None fread Read from flash memory 1 0000 0000 0001 1011 None fwrite Write into flash memory 1 0000 0000 0001 1010 None iread Read from external/program memory     4(blocking),
1(non-blocking)
0000 0000 0001 1001 None ireadi Read from program memory and incre-
ment ADDRL by 2
    4(blocking),
1(non-blocking)
0000 0000 0001 1101 None iwrite Write into external memory/program RAM     4(blocking),
1(non-blocking)
0000 0000 0001 1000 None iwritei Write into program RAM and increment
ADDRL by 2
    4(blocking),
1(non-blocking)
0000 0000 0001 1100 None loadh addr8 Load high data address into DPH 1 0111 0000 kkkk kkkk None loadl addr8 Load low data address into DPL 1 0111 0001 kkkk kkkk None page addr3 Load page bits from program address into
PA2:0 of the STATUS register
1 0000 0000 0001 0nnn PA2:0 speed #lit8 Change CPU speed by writing into the
SPDREG register
1 0000 0001 nnnn nnnn None