Electronic Components Datasheet Search
  English  ▼

X  

VR4102 Datasheet(PDF) 186 Page - NEC

Part # VR4102
Description  64/32-bit Microprocessor
PDF  701 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NEC [NEC]
Direct Link  http://www.nec.com/
Logo NEC - NEC

VR4102 Datasheet(HTML) 186 Page - NEC

Back Button VR4102 Datasheet HTML 182Page - NEC VR4102 Datasheet HTML 183Page - NEC VR4102 Datasheet HTML 184Page - NEC VR4102 Datasheet HTML 185Page - NEC VR4102 Datasheet HTML 186Page - NEC VR4102 Datasheet HTML 187Page - NEC VR4102 Datasheet HTML 188Page - NEC VR4102 Datasheet HTML 189Page - NEC VR4102 Datasheet HTML 190Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 186 / 701 page
background image
CHAPTER 6 EXCEPTION PROCESSING
186
6.4.11 System Call Exception
Cause
A System Call exception occurs during an attempt to execute the SYSCALL instruction. This exception is not
maskable.
Processing
The common exception vector is used for this exception, and the Sys code in the ExcCode field of the Cause
register is set.
The EPC register contains the address of the SYSCALL instruction unless it is in a branch delay slot, in which
case the EPC register contains the address of the preceding branch instruction.
If the SYSCALL instruction is in a branch delay slot, the BD bit of the Status register is set to 1; otherwise this bit
is cleared.
Servicing
When this exception occurs, control is transferred to the applicable system routine.
To resume execution, the EPC register must be altered so that the SYSCALL instruction does not re-execute; this
is accomplished by adding a value of 4 to the EPC register before returning.
If a SYSCALL instruction is in a branch delay slot, interpretation of the branch instruction is required to resume
execution.
6.4.12 Breakpoint Exception
Cause
A Breakpoint exception occurs when an attempt is made to execute the BREAK instruction. This exception is not
maskable.
Processing
The common exception vector is used for this exception, and the BP code in the ExcCode field of the Cause
register is set.
The EPC register contains the address of the BREAK instruction unless it is in a branch delay slot, in which case
the EPC register contains the address of the preceding branch instruction.
If the BREAK instruction is in a branch delay slot, the BD bit of the Status register is set to 1; otherwise this bit is
cleared.
Servicing
When the Breakpoint exception occurs, control is transferred to the applicable system routine.
Additional
distinctions can be made by analyzing the unused bits of the BREAK instruction (bits 25 to 6), and loading the
contents of the instruction whose address the EPC register contains. A value of 4 must be added to the contents
of the EPC register to locate the instruction if it resides in a branch delay slot.
To resume execution, the EPC register must be altered so that the BREAK instruction does not re-execute; this is
accomplished by adding a value of 4 to the EPC register before returning.
If a BREAK instruction is in a branch delay slot, interpretation (decoding) of the branch instruction is required to
resume execution.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com