Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Programming the 68HC12..HELP!

Status
Not open for further replies.

relo

New Member
hi and thanks for takin your time to read this..
well basically i need the 68HC12 microprocessor to obey the following guidelines./

Once run the program takes the byte previously stored at memory address 0000h and adds it to the byte at memory location 0001h. It places the resulting byte at memory location 0002h.
Next it multiplies the result by 4, placing the new result at memory location 0003h.
The program now prints the message “Enter Byte” and waits for a key to be pressed.
The byte entered is subtracted from the byte at memory address 0003h and the new result is place at address 0004h.
Finally, this new result is printed to the screen.

any help would be appreciated
 
This is so obviously a course assignment! - you need to do your own work, not try to get others to do it for you! - this helps no one, least of all you!.

Just checked his IP address - he's even posting from Deakin University in Australia!.
 
Last edited:
yes i am posting from university..i live on-campus
although this is not an assignment im not actually doing any
electronic core units im just interested.. and im screwing around with
some basic programming stuff...

if anybody wants to help thanks...

thanks for the reply anyways
 
I'm a professor....

Do your homework!
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top