Download Altera Nios II Specifications

Transcript
rdctl
rdctl
read from control register
Operation:
rC ← ctlN
Assembler Syntax:
rdctl rC, ctlN
Example:
rdctl r3, ctl31
Description:
Reads the value contained in control register ctlN and writes it to register rC.
Instruction Type:
R
Instruction Fields:
C = Register index of operand rC
N = Control register index of operand ctlN
31
30
29
0
28
27
26
25
24
23
22
21
20
0
8–82
Nios II Processor Reference Handbook
19
C
18
17
16
15
14
13
0x26
12
11
10
9
8
N
7
6
5
4
3
2
1
0
0x3a
Altera Corporation
October 2007