It is currently Tue Apr 25, 2017 12:34 pm

All times are UTC

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Base Conversion
PostPosted: Fri Nov 18, 2016 1:40 pm 

Joined: Fri Nov 18, 2016 1:01 pm
Posts: 1
Hi all,

I am working to create base conversion program using easy68k. I almost finish everything except I stuck in 1 part that when user enter the number to convert , it is in decimal value. How can we make the system know which number user enter is binary, octa, decimal,... . by using 68k. i know I need to create a menu for user to choose the base of the number they enter but how can we let the system understand which base the number is in ??

 Post subject: Re: Base Conversion
PostPosted: Tue Nov 22, 2016 1:42 pm 
User avatar

Joined: Thu Dec 16, 2004 6:42 pm
Posts: 1036
Location: Monroe County Community College, Monroe Michigan, U.S.A.
You will need read characters from the keyboard and do the conversion from text into the proper number base yourself. The only trap task for entering numbers is trask 4 and it reads decimal values only.

Prof. Kelly

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 2 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:  
Powered by phpBB® Forum Software © phpBB Group