Jun3-05, 07:45 PM
Can someone please help with the following question. Thanks
Develop a program for the Motorola MC68HC11 using the THRSim11 simulator software. The program is to display a number 10 digits long, one digit at a time, on a single 7 segment LED display. Each digit will be ON for 1 second and OFF for 0.5 Seconds. Once all digits have been displayed the program will stop and the display will be OFF.
The program will make use of all CPU internal registers, and will include subroutines for initializing the peripheral registers and the time delays.
Use the following table of information to commence the program.
LABEL MNEMONIC OPERAND COMMENT
prb equ $1004 Perpheral Port B
ddrb equ $1006 Data direction register B
prc equ $1003 Peripheral port C
ddrc equ $1007 Data direction register C
hexpat fcb $3f,$06 Hex bit patterns for
fcb $5b,$4f displaying digits 0 to 9
number fcc '0010049631' Student number with EOD marker
The Problem I have is I cant get it to display the student number, I can only get it to display the 1st 2 hexpat numbers, I believe I have to get it to display the student number using the hexpat data. Would someone please show me how this is done, Ive spent hours and hours on this without any luck. Thanks.
|Register to reply|
|7 segment display in Multisim||Electrical Engineering||10|
|7-segment display question||Electrical Engineering||2|
|7 segment display||Engineering, Comp Sci, & Technology Homework||1|
|Develop a program to display a number, on a single 7 segment LED display||Computing & Technology||6|
|Light Up 7 segment display||Electrical Engineering||6|