Answer the following: A. Below is a figure showing the content of a few location
ID: 3633977 • Letter: A
Question
Answer the following:A. Below is a figure showing the content of a few locations within the interrupt vector table. what will be the new program counter content when the interrupt that uses these locations is processed?
Memory Location Address content
001CO 22
001C1 44
001C2 66
001C3 88
001C4 ---
B. What interrupt number has the above vector address ? write assembly instruction to initiate this interrupt.
C. What are some of the problems with the following ISR1?
ISR1: PUSH AX
PUSH BX
;
BODY OF ISR
;
POP AX
IRET
Explanation / Answer
C) Some of the problems are: • POPS BX and places it in AX. So the contents of AX will be replaced. • Before the body of ISR is placed, the interrupts are to be enabled using sti instruction. • Interrupts are not enabled. • Since no interrupts are enabled in the ISR1, IRET cannot be returned to the interrupted program.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.