Assembler Developer

Moderators: None (Apply to moderate this forum)
Number of threads: 1030
Number of posts: 1832

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
New to assembly need help with temp converter Posted by omgwuzi on 29 Mar 2012 at 3:16 PM
Hello,

I just started taking my assembly language class for computer architecture and low level embedded systems. I am using code warrior to develop full chip simulations for the Dragon MCS912 board, here is my problem.

Write a program to convert the Fahrenheit temperature value stored in location labeled TdegF (use ORG $1100) to its Celsius equivalent. The range of temperatures is 32F to 350F. Store the converted temperature in location TdegC ($1110). Then modify to write a modular program as described above. All tasks are to be performed by subroutines (conversion from Fahrenheit to Celsius, rounding and conversion to ASCII). Main contains only calls to these routines. The Fahrenheit temperature value stored in location TdegF should be converted to Celsius, with rounding after division, and stored as ASCII hex digits in the 4 locations at hexString.

If somebody could help me figure out how to start this it would be a huge help. Thank you!



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.