C167CR
C167SR
Table 6
Instruction Set Summary (cont’d)
Description
Mnemonic
MOV(B)
MOVBS
MOVBZ
Bytes
Move word (byte) data
2 / 4
Move byte operand to word operand with sign extension 2 / 4
Move byte operand to word operand with zero extension 2 / 4
JMPA, JMPI,
JMPR
Jump absolute/indirect/relative if condition is met
4
JMPS
J(N)B
JBC
Jump absolute to a code segment
4
4
4
4
Jump relative if direct bit is (not) set
Jump relative and clear bit if direct bit is set
Jump relative and set bit if direct bit is not set
JNBS
CALLA, CALLI,
CALLR
Call absolute/indirect/relative subroutine if condition is met 4
CALLS
PCALL
Call absolute subroutine in any code segment
4
4
Push direct word register onto system stack and call
absolute subroutine
TRAP
Call interrupt service routine via immediate trap number
Push/pop direct word register onto/from system stack
2
2
4
PUSH, POP
SCXT
Push direct word register onto system stack and update
register with word operand
RET
Return from intra-segment subroutine
Return from inter-segment subroutine
2
2
2
RETS
RETP
Return from intra-segment subroutine and pop direct
word register from system stack
RETI
Return from interrupt service subroutine
Software Reset
2
SRST
4
IDLE
Enter Idle Mode
4
PWRDN
SRVWDT
DISWDT
EINIT
Enter Power Down Mode (supposes NMI-pin being low)
Service Watchdog Timer
4
4
Disable Watchdog Timer
4
Signify End-of-Initialization on RSTOUT-pin
Begin ATOMIC sequence
4
ATOMIC
EXTR
2
Begin EXTended Register sequence
Begin EXTended Page (and Register) sequence
Begin EXTended Segment (and Register) sequence
Null operation
2
EXTP(R)
EXTS(R)
NOP
2 / 4
2 / 4
2
Data Sheet
34
V3.2, 2001-07