Shared Flashcard Set

Details

Mar2 Quiz3-1
asdawe
10
Accounting
3rd Grade
10/15/2009

Additional Accounting Flashcards

 


 

Cards

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
on overflow
Term
Where do you copy the address of your custom interrupt service routine to in GBA memory?
Definition
0x03007FFC
Term
Since the GBA CPU is a RISC processor, we can manipulate multiple data items in memory at once.
Definition
True
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
False, 32 only
Term
If your code uses addition, subtraction, and multiplication then there is no performance difference between signed an unsigned operations.
Definition
True
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
0x4000004 (REG_DISPSTAT)
Term
All timers share the same interrupt. True or False
Definition
Supporting users have an ad free experience!