Nios/findintr
From ASMBits
nios/findcallerPrevious
Nextnios/loadexec
Write a function that will return whether a given interrupt line is enabled. Return 1 if enabled, 0 if not. The IRQ line (first parameter) is guaranteed to be between 0 and 31. An interrupt is enabled if both global interrupts are enabled, and the specific IRQ line is also enabled.
Expected solution length: Around 10 lines.
Sample Input
[none]
Sample Output
0
nios/findcallerPrevious
Nextnios/loadexec