This preview shows page 1. Sign up to view the full content.
Unformatted text preview: return. 4. Consider the following table made of 5 ASCII letters plus a 16-bit address. Write a program that inputs 5 ASCII characters and stores these characters at the location labeled INPUT. Next, your program should compare these five ASCII l characters to the 5 characters stored in each element of the table given below. If there is a match, then your program should print to the screen the 4 hex values following the 5 characters that match the input ASCII characters. Use the HEX2OUT ROUTINE twice (HEX4OUT) to print the 4 hex digits. If there is not match then you program should print the message no match and go back waiting for a new input. Table FCC HELLO FDB $2000 FCC WORLD FDB $2010 FCC TODAY FDB $2020 FCC SEVEN FDB $2030 FCC SINGLE FDB $2040 INPUT RMB 5...
View Full Document
This note was uploaded on 09/12/2011 for the course EEL 4742 taught by Professor Weeks during the Spring '11 term at University of Central Florida.
- Spring '11