
63
CHAPTER 3 MEMORY SPACE, CPU AND CONTROL UNIT
The address of the instruction that detected the undefined instruction exception is saved in the
PC.
■
Coprocessor absence trap
If there is an attempt to execute a coprocessor instruction for a coprocessor that is not mounted,
a coprocessor absence trap occurs.
❍
Operation
Each item in parentheses in 1. to 6. below shows the address indicated by the register.
1. SSP-4 --> SP
2. PS --> (SSP)
3. SSP-4 --> SSP
4. Address of the next instruction --> (SSP)
5. 0 --> S flag
6. (TBR + 3E0H) --> PC
■
Coprocessor error trap
Assume that an error occurred while the coprocessor was used. When a coprocessor instruction
using that coprocessor is executed next, a coprocessor error trap occurs.
Note:
The MB91150 is not equipped with a coprocessor.
❍
Operation
Each item in parentheses in 1. to 6. below shows the address indicated by the register.
1. SSP-4 --> SP
2. PS --> (SSP)
3. SSP-4 --> SSP
4. Address of the next instruction --> (SSP)
5. 0 --> S flag
6. (TBR + 3DCH) --> PC
■
Operation for RETI instruction
The RETI instruction returns from the EIT processing routine.
❍
Operation
Each item in parentheses in 1. to 4. below shows the address indicated by the register.
1. (R15) --> PC
2. R15 + 4 --> R15
3. (R15) --> PS
4. R15 + 4 --> R15
Note that the stack pointer to be referenced for resetting the PS and PC is selected in
accordance with the content of the S flag. To execute the instruction that manipulates R15
(stack pointer) in the interrupt handler, set the S flag to 1 to use the USP as R15. In this case,
be sure to return the S flag to 0 before executing the RETI instruction.
Summary of Contents for MB91150 Series
Page 1: ......
Page 2: ......
Page 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Page 4: ......
Page 10: ...vi ...
Page 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Page 178: ...162 CHAPTER 5 I O PORTS ...
Page 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Page 240: ...224 CHAPTER 8 PPG TIMER ...
Page 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Page 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Page 362: ...346 CHAPTER 15 UART ...
Page 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Page 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Page 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 510: ...494 INDEX ...
Page 512: ......