HD6435348R Hitachi Semiconductor, HD6435348R Datasheet - Page 79

no-image

HD6435348R

Manufacturer Part Number
HD6435348R
Description
Single-Chip Microcomputer
Manufacturer
Hitachi Semiconductor
Datasheet
3.5.8 System Control Instructions
Table 3-16 describes the 12 system control instructions.
Table 3-16 System Control Instructions
Instruction
System
control
* The size depends on the control register.
Note on Stack Operation by LDC and STC Instructions of H8/500 CPU
When using the LDC and STC instructions to stack and unstack the BR, CCR, TP, DP, and EP
control registers in the H8/500 family, note the following point.
H8/500 hardware does not permit byte access to the stack. If the LDC.B or STC.B assembler
mnemonic is coded with the @R7 + (@SP+) or @–R7 (@–SP) addressing mode, the stack-
pointer addressing mode takes precedence and hardware automatically performs word access.
TRAPA
TRAP/VS
RTE
LINK
UNLK
SLEEP
LDC
STC
ANDC
ORC
XORC
NOP
Size
B/W*
B/W*
B/W*
B/W*
B/W*
Function
Generates a trap exception with a specified vector number.
Generates a trap exception if the V bit is set to 1 when
the instruction is executed.
Returns from an exception-handling routine.
FP
Creates a stack frame.
FP
Deallocates a stack frame created by the LINK instruction.
Causes a transition to the power-down state.
(EAs)
Moves immediate data or general register or memory
contents to a specified control register.
CR
Moves control register data to a specified general register
or memory location.
CR
Logically ANDs a control register with immediate data.
CR
Logically ORs a control register with immediate data.
CR
Logically exclusive-ORs a control register with immediate
data.
PC + 1
No operation. Only increments the program counter.
#IMM
#IMM
#IMM
@–SP; SP
SP; @SP+
(EAd)
59
CR
PC
CR
CR
CR
FP; SP + #IMM
FP
SP

Related parts for HD6435348R