Visible to Intel only — GUID: iga1409334291296
Ixiasoft
Visible to Intel only — GUID: iga1409334291296
Ixiasoft
3.4.2. Control Registers
Control registers report the status and change the behavior of the processor. Control registers are accessed differently than the general-purpose registers. The special instructions rdctl and wrctl provide the only means to read and write to the control registers and are only available in supervisor mode.
The Nios® II architecture supports up to 32 control registers. All non-reserved control registers have names recognized by the assembler.
Register | Name | Register Contents | |||
---|---|---|---|---|---|
0 | status | Refer to The status Register | |||
1 | estatus | Refer to The estatus Register | |||
2 | bstatus | Refer to The bstatus Register | |||
3 | ienable | Internal interrupt-enable bits Available only when the external interrupt controller interface is not present. Otherwise reserved. |
|||
4 | ipending | Pending internal interrupt bits Available only when the external interrupt controller interface is not present. Otherwise reserved. |
|||
5 | cpuid | Unique processor identifier | |||
6 | Reserved | Reserved | |||
7 | exception | Refer to The exception Register | |||
8 | pteaddr | Refer to The pteaddr Register Available only when the MMU is present. Otherwise reserved. |
|||
9 | tlbacc | Refer to The tlbacc Register Available only when the MMU is present. Otherwise reserved. |
|||
10 | tlbmisc | Refer to The tlbmisc Register Available only when the MMU is present. Otherwise reserved. |
|||
11 | eccinj | Refer to The eccinj Register Available only when ECC is present. |
|||
12 | badaddr | Refer to The badaddr Register | |||
13 | config | Refer to The config Register Available only when the MPU or ECC is present. Otherwise reserved. |
|||
14 | mpubase | Refer to The mpubase Register Available only when the MPU is present. Otherwise reserved. |
|||
15 | mpuacc | Refer to The mpuacc Register for MASK variations table. Available only when the MPU is present. Otherwise reserved. |
|||
16–31 | Reserved | Reserved |
The following sections describe the non-reserved control registers.
Section Content
The status Register
The estatus Register
The bstatus Register
The ienable Register
The ipending Register
The cpuid Register
The exception Register
The pteaddr Register
The tlbacc Register
The tlbmisc Register
The badaddr Register
The config Register
The mpubase Register
The mpuacc Register