Thread: Assembly Help
View Single Post
Old 05-28-2009, 12:14 PM   #1 (permalink)
MrNemesis666
Registered User
 
Join Date: Apr 2007
Posts: 154
OS: Vista


Assembly Help

I won't lie to you TSF, this is a college assignment but our teacher gave us about 20 minutes work on assembly and now expects us to write to entire programs and the entire class is stumped as what we do. I have been staring at a blank page for ages i don't even know how to start, does anyone here know the answer that could share but also explain to me, i hate being told answers without knowing how they operate.

Questions

1. Supply a flowchart and assembly language listings for a program to read the analogue to digital convertor and send it out to the serial port. See the notes, below, for further information on this task. P8

2. Supply a flowchart and assembly language listings for a program to produce a FAULT signal. See the notes, below, for further information on this task. M3

Those are the questions and below are the notes he added.

Notes.
1. In order to start the analogue to digital convertor on the PIC16F873, set register (0x)1F (hexadecimal) to a value of 5.
2. Wait the appropriate number of clock pulses before reading the digital conversion. Assume that the CPU and convertor are being clocked from the same source.
3. The most significant two bits are in register (0x)9E (hexadecimal) and the least significant eight bits are in (0x)1E (hexadecimal), after the conversion.
4. Send the data to the UART starting with the least significant byte. The UART transmit register is (0x)19 (hexadecimal).
5. The FAULT signal is set by moving a value of 1 to register 06 and cleared by moving a value of 0 (zero) to register 06.


If anyone can help you'd be a life saver.
MrNemesis666 is offline   Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here