Compiler Runtime Environment
5.7.2.9.2
Bad Virtual Address Register ( BadVAddr – CP0 Register 8, Select 0)
This register is a read-only register that captures the most recent virtual address that
caused an Address Error exception ( AdEL or AdES ).
No initialization is performed on this register in the PIC32MX startup code.
5.7.2.9.3
Count Register ( Count – CP0 Register 9, Select 0)
This register acts as a timer, incrementing at a constant rate, whether or not an
instruction is executed, retired, or any forward progress is made through the pipeline.
The counter increments every other clock, if the DC bit in the Cause register is 0. The
Count register can be written for functional or diagnostic purposes, including at reset
or to synchronize processors. By writing the Count DM bit in the Debug register, it is
possible to control whether the Count register continues incrementing while the
processor is in debug mode.
This register is cleared in the PIC32MX startup code.
5.7.2.9.4
Compare Register ( Compare – CP0 Register 11, Select 0)
This register acts in conjunction with the Count register to implement a timer and timer
interrupt function. The timer interrupt is an output of the core. The Compare register
maintains a stable value and does not change on its own. When the value of the Count
register equals the value of the Compare register, the SI_TimerInt pin is asserted.
This pin remains asserted until the Compare register is written. The SI_TimerInt pin
can be fed back into the core on one of the interrupt pins to generate an interrupt. For
diagnostic purposes, the Compare register is a read/write register. In normal use,
however, the Compare register is write-only. Writing a value to the Compare register,
as a side effect, clears the timer interrupt.
This register is set to 0xFFFFFFFF in the PIC32MX startup code.
5.7.2.9.5
Status Register ( Status – CP0 Register 12, Select 0)
This register is a read/write register that contains the operating mode, interrupt
enabling, and the diagnostic states of the processor. Fields of this register combine to
create operating modes for the processor.
The following settings are initialized by the PIC32MX startup code
( 0b000 0 00 0 00 x 0 xx 0 ? 0 00000000 000 0 0 000 ):
?
?
?
?
?
?
?
?
?
?
?
Access to Coprocessor 0 not allowed in user mode ( CU0 = 0 )
User mode uses configured endianess ( RE = 0 )
No change to exception vectors location ( BEV = no change )
No change to flag bits that indicate reason for entry to the reset exception vector
( SR, NMI = no change )
If CorExtend User Defined Instructions have been implemented
( Config UDI == 1 ), CorExtend is enabled ( CEE = 1 ), otherwise, CorExtend is
disabled ( CEE = 0 ).
Interrupt masks are cleared to disable any pending interrupt requests ( IM7..IM2
= 0, IM1..IM0 = 0 )
Interrupt priority level is 0 ( IPL = 0 )
Base mode is Kernel mode ( UM = 0 )
Error level is normal ( ERL = 0 )
Exception level is normal ( EXL = 0 )
Interrupts are disabled ( IE = 0 )
? 2007 Microchip Technology Inc.
DS51686A-page 67
相关PDF资料
SW300003-EVAL LIBRARY SOFT MODEM-EVAL ONLY
SW300010-EVAL SPEECH RECOG LIBRARY-EVAL ONLY
SW300040-EVAL LIBRARY NOISE SUPPR-EVAL ONLY
SW300060-EVAL LIBRARY ACOUSTIC ECHO-EVAL ONLY
SW300070-EVAL SOFTWARE LIBR ENC/DEC EVAL ONLY
SW500012 HI-TECH C PRO FOR PIC32
SY87701LHI-EVAL BOARD EVAL SY87701 EXPERIMENT
SY87729LHI-EVAL BOARD EVAL N SY87729 EXPERIMENT
相关代理商/技术参数
SW006021-1 制造商:Microchip Technology 功能描述:MPLAB XC8 STANDARD COMPILER 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 STD 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 STANDARD 制造商:Microchip Technology Inc 功能描述:COMPILER, MPLAB XC8, STANDARD 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 ANSI C Compiler for the PIC10 (12),(16),(18) (Workstation License) 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 Standard Compiler 制造商:Microchip Technology Inc 功能描述:OPTOCOUPLERS; Core Architecture:PIC; Software Edition:Standard
SW006021-1N 制造商:Microchip Technology 功能描述:MPLAB XC8 STANDARD COMPILER (F 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 STANDARD COMPILER (FLOATING LICENSE) - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 STD FLOAT LIC 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 Standard Compiler (Fltng Lic)
SW006021-2 制造商:Microchip Technology 功能描述:MPLAB XC8 PRO COMPILER WORKSTATION LICENSE 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 PRO COMPILER - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 PRO 制造商:Microchip Technology Inc 功能描述:COMPILER, MPLAB XC8, PRO 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 ANSI PRO Compiler for the PIC10 (12),(16),(18) (Workstation License) 制造商:Microchip Technology Inc 功能描述:MPLAB XC8 PRO Compiler 制造商:Microchip Technology Inc 功能描述:SOFTWARE TOOL, MPLAB XC8 PRO COMPILER; Core Architecture:PIC; Supported Families:PIC10, PIC16, PIC18; Software Edition:Linux; License Type:Floating - node; No. of User Licenses:1; Supported Hosts:-
SW006021-2C 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC8 PRO CHI
SW006021-2N 功能描述:开发软件 MPLAB XC8 PRO Compiler (Fltng Lic) RoHS:否 制造商:Atollic Inc. 产品:Compilers/Debuggers 用于:ARM7, ARM9, Cortex-A, Cortex-M, Cortex-R Processors
SW006022-1 制造商:Microchip Technology 功能描述:MPLAB XC16 STANDARD COMPILER 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 STANDARD COMPILER - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC16 STD 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC16 STANDARD 制造商:Microchip Technology Inc 功能描述:COMPILER, MPLAB XC16, STANDARD 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 Standard Compiler (Workstation License) 制造商:Microchip Technology Inc 功能描述:OPTOCOUPLERS; Core Architecture:PIC, dsPIC; Software Edition:Standard
SW006022-1N 制造商:Microchip Technology 功能描述:MPLAB XC16 STANDARD COMPILER ( 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 STANDARD COMPILER (FLOATING LICENSE) - Boxed Product (Development Kits) 制造商:Microchip Technology Inc 功能描述:COMPILER MPLAB XC16 FLOAT LIC 制造商:Microchip Technology Inc 功能描述:MPLAB XC16 Standard Compiler (Fltng Lic)
SW006022-2 功能描述:开发软件 MPLAB XC16 PRO Compiler RoHS:否 制造商:Microchip Technology 产品: 用于: