
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Some concept of Machine Organization are Anatomy, Cache Access Time, Instruction Formats, Instruction Formats, Instruction Formats, Multidimensional Meshes, Network Processors, Snooping Protocol. Main points of this lecture are: Character, Polling, Keyboard, Monitor, Program, Identify, Snapshots, Some Simulator, Snapshots, Interrupts
Typology: Slides
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Verify your program runs correctly. Document this with some simulator snapshots. Of course, identify why you chose these snapshots and what the snapshots are displaying.
The Keyboard is the only device that has interrupt capability in the LC- simulator. The Keyboard’s Interrupt Vector # is x0180. You must load that Interrupt Vector with the location of your interrupt service routine, and don’t forget to set the interrupt enable bit in the Keyboard Status Register.
Also, when the interrupt Service Routine begins to be executed, the service routine should immediately disable further interrupts (so that you won’t get another interrupt before you service the present one). You can disarm the interrupts by either reading the device data register, or by turning off the interrupt enable bit (and then, of course, turning it back on just before you leave the service routine). Reading the data register is the simplest.
Verify your program runs correctly. Document this with some simulator snapshots. Of course, identify why you chose these snapshots and what the snapshots are displaying.