HD6475328-CP10 HITACHI [Hitachi Semiconductor], HD6475328-CP10 Datasheet - Page 78

no-image

HD6475328-CP10

Manufacturer Part Number
HD6475328-CP10
Description
original Hitachi CMOS microcomputer unit (MCU)
Manufacturer
HITACHI [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.
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 HD6475328-CP10