Term
Before setting up an Interrupt Service Routine (ISR) what must be done? |
|
Definition
Must have globals or Accessors
Disable Interrupts
Configure Interrupts registers (0x3007FFC)
Enable types of Interrupts you want
Enable Interrupts |
|
|
Term
When timer interrupts are enabled when does the interrupt occur? |
|
Definition
|
|
Term
Where do you copy the address of your custom interrupt service routine to in GBA memory? |
|
Definition
|
|
Term
Since the GBA CPU is a RISC processor, we can manipulate multiple data items in memory at once. |
|
Definition
|
|
Term
Because of the way parameters are passed to C/C++ non-member functions (NMF) and C++ member functions (MF), those that pass over N parameters should be considered less efficient. What is N? |
|
Definition
4. If your function takes more than 4 parameters, you should pass a structure pointer instead |
|
|
Term
The data processing operations can operate on 8, 16, or 32 bit values. |
|
Definition
|
|
Term
If your code uses addition, subtraction, and multiplication then there is no performance difference between signed an unsigned operations. |
|
Definition
|
|
Term
To reduce the impact of pointer aliasing overhead (extra data retrieval) what optimization can we use? |
|
Definition
Creating a local variable to hold the dereferenced value of a pointer |
|
|
Term
Which register would you check to determine which interrupt has occurred? |
|
Definition
|
|
Term
All timers share the same interrupt. True or False |
|
Definition
|
|