ARM Cortex-9 Assembly Program
This is an individual assignment. Each person should make a LUT, and for the actual lab, you will choose one of them to use.
This upcoming lab will require the use of seven-segment displays to display hexadecimal values. For the prelab, write a file for use in an ARM program that acts as a Look-Up Table (LUT) which returns a byte-long value that can be used to drive a 7-segment display on the DEl-SoC boards. LUTs were covered in ECE 118 of Dr. Stillmaker's Lecture 7, so you should review the posted slides and video if you aren't familiar with the concept. The LUT should represent the decimal values 0 through 9 as well as the letters A through F. All numbers must be displayed as unique. Your LUT must be properly created so that the numerical value added as an offset to the base address will return the desired value. You may not simply use .equ directives to define variable names. Your file will be included in your code that you will write for Lab 4.
7-Segment Display:
Below is an image showing how each segment on the display is mapped to a bit in each byte. The "A" segment corresponds to the least significant bit, "G" to the second-most significant bit, and the decimal point to the most significant bit. When a 1 is written to the corresponding pin on the board, the segment will light up. When a 0 is written, the segment will be turned off.
A
G
D