Specifications

Usage
Use initd after processor reset and before accessing data
memory to initialize the processor’s data cache. Use initd with
caution because it does not write back dirty data. By contrast,
refer to “flushd flush data cache line”, “flushda flush data cache
address”, and “initda initialize data cache address” for other
cache-clearing options. Altera recommends using initd only
when the processor comes out of reset.
For more information on data cache, refer to the Cache and
Tightly Coupled Memory chapter of the Nios II Software
Developer’s Handbook.
Exceptions
Supervisor-only instruction
Instruction Type
I
Instruction Fields
A = Register index of operand rA
IMM16 = 16-bit signed immediate value
Bit Fields
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
A 0 IMM16
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
IMM16 0x33
Related Information
Cache and Tightly-Coupled Memory
flushda on page 8-40
initda on page 8-44
flushd on page 8-38
initda
Instruction
initialize data cache address
Operation
Initializes the data cache line currently caching address
rA + σ(IMM16)
Assembler Syntax
initda IMM16(rA)
Example
initda -100(r6)
8-44
initda
NII51017
2015.04.02
Altera Corporation
Instruction Set Reference
Send Feedback