Wednesday 30 April 2014

System Programming CS609 Assignment No 1 May 2014

Answer the following questions precisely. Do not include irrelevant data in your answers. Any answer with more than three lines will neglect your marks. (2 marks for each)
Q1. Where are the interrupt vectors located in the microprocessors memory?
Q2. Which interrupt vectors are reserved by Intel?
Q3. Explain the operation of IRET instruction.
Q4. List the events that occur when an interrupt becomes active.
Q5. Explain the purpose of the trap flag (TF).
Question 2: Marks 10
Write a C program that should write the value of 'z' in the keyboard buffer whenever the letter 'a' is pressed from keyboard.