Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

2. Local variables are stored on the 3. Global variables are stored on the 4. Th

ID: 3701094 • Letter: 2

Question

2. Local variables are stored on the 3. Global variables are stored on the 4. The following registers are saved on the stack when jumping to ISR 5. All Interrupt Service Routines, with the exception of SysTick, must do this: 6. Represent the number 9.95 using the binary fixed point (precision 5) format For a fixed-point system of 9 bits with a precision of 4, what is the signed and unsignod range of numbers that can be represented in this system? 7. 8. Rewrite the following equation using Binary fixed-point format only, use a precision of your

Explanation / Answer

Answer is as follows :

according to Chegg Guidelines, I will provide the answer of first Four parts so please repost other.

a)

Local Variables are always stored in STACK, defined by Robert Lafore's Book object Oriented Programming using C++

b)

Global Varaibles are always stored in HEAP.

c)

Only the PC i.e. Program Counter are saved on the stack when jumping to ISR i.e. Interrupt Service Routines

d)

SysTick interrupts are the exceptions that is request by a periodic timer where the ISR must explicitly execute the code to clear Flag.

So for the given scenario the answer is to clear the flag.

if there is any query please ask in comments...

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote