ml670100 Oki Semiconductor, ml670100 Datasheet - Page 38

no-image

ml670100

Manufacturer Part Number
ml670100
Description
Ml670100 Is A High-performance 32-bit Microcontroller
Manufacturer
Oki Semiconductor
Datasheet
2.9.6
2.9.7
2.9.8
The software interrupt instruction (SWI) is used for entering Supervisor mode, usually to
request a particular supervisor function. A SWI handler should return by executing the
following irrespective of the state (ARM or Thumb):
When the CPU comes across an instruction which it cannot handle, it takes the undefined
instruction trap. This mechanism may be used to extend either the THUMB or ARM
instruction set by software emulation.
After emulating the failed instruction, the trap handler should execute the following
irrespective of the state (ARM or Thumb):
Software interrupt
This restores the PC and CPSR, and returns to the instruction following the SWI.
Undefined instruction
This restores the CPSR and returns to the instruction following the undefined instruction.
Exception vectors
The following table shows the exception vector addresses.
Table 2.3 : Exception vectors
MOV PC, R14_svc
MOVS PC, R14_und
0x0000000C
0x0000001C
0x00000000
0x00000004
0x00000008
0x00000010
0x00000014
0x00000018
Address
Reset
Undefined instruction
Software interrupt
Reserved
Reserved
Reserved
IRQ
FIQ
Exception
Supervisor
Undefined
Supervisor
Reserved
Reserved
Reserved
IRQ
FIQ
Mode on entry
2-12

Related parts for ml670100