Technical discussions about Freescale Microcontrollers: M68HC11. (Freescale Semiconductor is a Subsidiary of Motorola).
looking to some help - Dina - May 27 3:56:21 2006
hi, i am trying to develop a programming using m6811 and my editor is
mirco-IDE could someone help me with these problems?
1. Enter a DATA ARRAY (TABLE) in RAM, using BUFFALO, then use INDEXED
ADDRESSING to retrieve the data and display it on the LEDs. The data
when displayed should make pairs of LEDs scan from the outside (bits 0
and 7) towards the center and back again.
2. As for Task 1 except define the table using the FCB assembler
directive in the assembly source code and download it with the program.
3. As for Task 2 except before fetching the next byte in the sequence,
the data should be INVERTED and re-displayed (after another delay).
The delay should be 2 seconds and written as a subroutine.
NB: This may necessitate a nested delay loop.
4.Using polled mode (poll RDRF flag), accept input characters from the
HOST keyboard and echo each character back to the Host screen.
NB: The PC Host is already using this port so no new connections are
necessary.)
5. As for Task 4 but as each character is inputted, it should be
outputted to PORTB to display the ASCII code on the LED display.
(Connect PORTB to LED display) The program should terminate when a
CONTROL Q is inputted. Termination is achieved by executing a SWI
instruction.
thank you so much for helping me
Dina

(You need to be a member of hc11 -- send a blank email to hc11-subscribe@yahoogroups.com )
Re: looking to some help - Mike McCarty - May 30 2:38:22 2006
Dina wrote:
> hi, i am trying to develop a programming using m6811 and my editor is
> mirco-IDE could someone help me with these problems?
>
> 1. Enter a DATA ARRAY (TABLE) in RAM, using BUFFALO, then use INDEXED
> ADDRESSING to retrieve the data and display it on the LEDs. The data
> when displayed should make pairs of LEDs scan from the outside (bits 0
> and 7) towards the center and back again.
[snip]
This sure sounds like homework, especially since the *means* to
accomplish the assignments are specified. Be assured, your professor
is reading this.
How about, instead of we do your homework for you, you give it a good
try, and when you get stuck, post what you've done, and in what way
you are stuck, and we'll see whether we can help you figure out the
problem for yourself?
That way, you won't be wasting your hard-earned money you are paying
for an education, and will actually learn something.
Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!

(You need to be a member of hc11 -- send a blank email to hc11-subscribe@yahoogroups.com )