Electronic Components Datasheet Search
  English  ▼

X  

VR4102 Datasheet(PDF) 157 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) 157 Page - NEC

Back Button VR4102 Datasheet HTML 153Page - NEC VR4102 Datasheet HTML 154Page - NEC VR4102 Datasheet HTML 155Page - NEC VR4102 Datasheet HTML 156Page - NEC VR4102 Datasheet HTML 157Page - NEC VR4102 Datasheet HTML 158Page - NEC VR4102 Datasheet HTML 159Page - NEC VR4102 Datasheet HTML 160Page - NEC VR4102 Datasheet HTML 161Page - NEC Next Button
Zoom Inzoom in Zoom Outzoom out
 157 / 701 page
background image
157
CHAPTER 6 EXCEPTION PROCESSING
This chapter describes CPU exception processing, including an explanation of hardware that processes
exceptions, followed by the format and use of each CPU exception register.
The chapter concludes with a description of each exception’s cause, together with the manner in which the CPU
processes and services each exception.
6.1 HOW EXCEPTION PROCESSING WORKS
The processor receives exceptions from a number of sources, including translation lookaside buffer (TLB) misses,
arithmetic overflows, I/O interrupts, and system calls. When the CPU detects an exception, the normal sequence of
instruction execution is suspended and the processor enters Kernel mode (see Chapter 5 for a description of system
operating modes).
The processor then disables interrupts and transfers control for execution to the exception handler (located at a
specific address as an exception handling routine implemented by software). The handler saves the context of the
processor, including the contents of the program counter, the current operating mode (User or Supervisor), statuses,
and interrupt enabling. This context is saved so it can be restored when the exception has been serviced.
When an exception occurs, the CPU loads the Exception Program Counter (EPC) register with a location where
execution can restart after the exception has been serviced. The restart location in the EPC register is the address
of the instruction that caused the exception or, if the instruction was executing in a branch delay slot, the address of
the branch instruction immediately preceding the delay slot.
The VR4102 processor supports a Supervisor mode and fast TLB refill for all address spaces. The VR4102 also
provides the following functions:
— Interrupt enable (IE) bit
— Operating mode (User, Supervisor, or Kernel)
— Exception level (normal or exception is indicated by the EXL bit in the Status register)
— Error level (normal or error is indicated by the ERL bit in the Status register).
Interrupts are enabled when the following conditions are satisfied:
(1) Interrupt enable
An interrupt is enabled when the following conditions are satisfied.
x Interrupt enable bit (IE) = 1
x EXL bit = 0, ERL bit = 0
x Corresponding IM field bits in the Status register = 1



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