Example Code Error in Nios II Processor Reference Handbook, Application Binary Interface Chapter - Example Code Error in Nios II Processor Reference Handbook, Application Binary Interface Chapter
Description In the Application Binary Interface chapter of the Nios II Processor Reference Handbook , Example 7-3 (“Returned struct is Larger than 8 Bytes”) contains a typographical error. *value should be replaced by &value . Resolution The correct code example is as follows: void b(STRUCT *p_result, int i, int j) { ... *p_result = result; } void a(...) { STRUCT value; ... b(&value, i, j); }
Custom Fields values:
['novalue']
Troubleshooting
novalue
True
['Nios® II Processor']
['FPGA Dev Tools Quartus II Software']
novalue
13.1
['Programmable Logic Devices']
['novalue']
['novalue']
['novalue'] - 2021-08-25
external_document