- Back to Home »
- CS401 Assignment no 4 Fall 2012 Full Solution
Posted by : Anonymous
Wednesday, 23 January 2013
Question: 1
A debugger or debugging tool is basically software that is used to test/debug programs. It has the ability to fetch an instruction, decode and execute that instruction. After each and every instruction a debugger can give control back to the user through its user interface or it can have ability to have a break even point.
Suppose you are assigned to write a code that will debug an interrupts using internal support provided through assembly language. So you have to answer the following question that your code/program is justifying the basic objectives that a debugger should have.
(Marks: 10)
(Marks: 5)
(Marks: 5)
A debugger or debugging tool is basically software that is used to test/debug programs. It has the ability to fetch an instruction, decode and execute that instruction. After each and every instruction a debugger can give control back to the user through its user interface or it can have ability to have a break even point.
Suppose you are assigned to write a code that will debug an interrupts using internal support provided through assembly language. So you have to answer the following question that your code/program is justifying the basic objectives that a debugger should have.
- 1. Which interrupts in assembly language programming can be used in debugging an interrupt and how their functionality matches the debugging process?
(Marks: 10)
- 2. How your code will counter fault and trap exception?
(Marks: 5)
- 3. Which flag will be used in debugging an interrupt and how?
(Marks: 5)