Visible to Intel only — GUID: cru1439932875420
Ixiasoft
Visible to Intel only — GUID: cru1439932875420
Ixiasoft
3.3.2. Custom Instruction Assembly Language Examples
custom 0, r6, r7, r8
The example above shows a call to a custom instruction with selection index 0. The input to the instruction is the current contents of the Nios II processor registers r7 and r8, and the results are stored in the Nios II processor register r6.
custom 3, c1, r2, c4
The example above shows a call to a custom instruction with selection index 3. The input to the instruction is the current contents of the Nios II processor register r2 and the custom register c4, and the results are stored in custom register c1.
custom 4, r6, c9, r2
The example above shows a call to a custom instruction with selection index 4. The input to the instruction is the current contents of the custom register c9 and the Nios II processor register r2, and the results are stored in Nios II processor register r6.