11
User’s Manual U10676EJ3V0UM
CHAPTER 7 INTERRUPT AND TEST FUNCTIONS........................................................................ 186
7.1 Configuration of Interrupt Controller.............................................................................. 1 86
7.2 Types of Interrupt Sources and Vector Table................................................................. 188
7.3 Hardware Controlling Interrupt Function ....................................................................... 190
7.4 Interrupt Sequence ............................................................................................................ 197
7.5 Nesting Control of Interrupts ........................................................................................... 198
7.6 Servicing of Interrupts Sharing Vector Address........................................................... 200
7.7 Machine Cycles Until Interrupt Servicing....................................................................... 202
7.8 Effective Usage of Interrupts ........................................................................................... 204
7.9 Application of Interrupt..................................................................................................... 20 4
7.10 Test Function ...................................................................................................................... 212
7.10.1 Types of test sources............................................................................................................. 212
7.10.2 Hardware controlling test function ........................................................................................ 212
CHAPTER 8 STANDBY FUNCTION ................................................................................................. 215
8.1 Settings and Operating Statuses of Standby Mode...................................................... 216
8.2 Releasing Standby Mode .................................................................................................. 218
8.3 Operation After Release of Standby Mode..................................................................... 222
8.4 Application of Standby Mode........................................................................................... 222
CHAPTER 9 RESET FUNCTION....................................................................................................... 227
9.1 Configuration and Operation of Reset Function........................................................... 22 7
9.2 Watchdog Flag (WDF), Key Return Flag (KRF).............................................................. 231
CHAPTER 10 MASK OPTIONS ........................................................................................................ 233
10.1 Pin Mask Options ............................................................................................................... 233
10.1.1 Mask option of P70/KR4 to P73/KR7 ................................................................................... 233
10.1.2 RESET pin mask option ........................................................................................................ 233
10.2 Oscillation Stabilization Wait Time Mask Option........................................................... 233
CHAPTER 11 INSTRUCTION SET.................................................................................................... 234
11.1 Unique Instructions ........................................................................................................... 234
11.1.1 GETI instruction ..................................................................................................................... 234
11.1.2 Bit manipulation instruction ................................................................................................... 235
11.1.3 String-effect instruction .......................................................................................................... 235
11.1.4 Base number adjustment instruction .................................................................................... 236
11.1.5 Skip instruction and number of machine cycles required for skipping ................................ 237
11.2 Instruction Set and Operation .......................................................................................... 237
11.3 Opcode of Each Instruction ............................................................................................. 248
11.4 Instruction Function and Application ............................................................................. 254
11.4.1 Transfer instructions............................................................................................................... 255
11.4.2 Table reference instructions .................................................................................................. 261
11.4.3 Bit transfer instructions .......................................................................................................... 265
11.4.4 Operation instructions............................................................................................................ 2 66
11.4.5 Accumulator manipulation instructions ................................................................................. 272
11.4.6 Increment/decrement instructions ......................................................................................... 273
11.4.7 Compare instructions ............................................................................................................. 274
11.4.8 Carry flag manipulation instructions ..................................................................................... 275
11.4.9 Memory bit manipulation instructions ................................................................................... 276