6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Wed May 08, 2024 9:17 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Calculator help please
PostPosted: Thu Jun 26, 2003 3:25 pm 
Offline

Joined: Thu Jun 26, 2003 3:13 pm
Posts: 1
Please can someone help me.
I need to design a program for a calculator to run on the 6502(emma board) there are 4 switches on the input which is in binary. Could please tell how to do it? If so could u tell me on how to do the addition, subtraction, muliplication and division separtly and how to put them togther to make the calculator.
I would be very gratefull if someone helped me.

Pardeep Chopra
:(


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Jun 26, 2003 4:26 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8432
Location: Southern California
The answer would fill a book. For starters, check out the source code repository at http://www.6502.org/source/source.htm . Look especially at "Floating Point Math" and "Integer Math". Calculators, more than other applications, normally need floating point which is more complex.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: