lab-05 - CSE 380 Lab #5 Spring 2009 Objective In this lab,...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE 380 Lab #5 Spring 2009 Objective In this lab, you will learn how to service interrupts on the ARM board. Description Write an ARM assembly language subroutine, called lab5 , which gets a hexadecimal digit (0-F) from the user via the DIP switches when the user interrupt button is pressed on the ARM board and illuminates that digit on the seven- segment display. Consider DIP switch 4 to be the MSB and DIP switch 1 to be the LSB. Once a digit is illuminated it should be incremented every time the user hits lowercase ‘i’ on the keyboard and decremented every time the user hits lowercase ‘d’. If the value displayed is decremented below ‘0’ it should wrap around to display ‘F’. Likewise, if the value displayed is incremented above ‘F’ it should wrap around to display ‘0’. Interrupts must be used to handle user input. The events which trigger the display to change are: Entering a character in HyperTerminal . Pressing the user interrupt button on the ARM board (causing the seven-segment display reflect the value on the
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

lab-05 - CSE 380 Lab #5 Spring 2009 Objective In this lab,...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online