Solution of Assignment No. 01
Semester: Spring 2013
System Programming-CS609
Instructions:
Please read the following instructions carefully before submitting assignment:
§ You will submit your assignment before or on due date on VU-LMS.
§ Assignment should be completed by your own efforts it should not be copied from internet, handouts or books.
§ You should submit your .doc File via assignment interface at VU-LMS.
§ Assignment sent via Email will not be replied and accepted/graded in any case.
§ If the submitted assignment does not open or file is corrupt, it will not be graded.
§ You will submit solution only in document (.doc or .docx) File.
Objectives:
To understand the use of ISR and its services.
Question No. 1 Marks 10
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 No. 2 Marks 10
Write a C program that should write the value of 'k' in the keyboard buffer whenever the letter 'z' is pressed from keyboard.
0 comments
Post a Comment