Base Conversion
Page 1 of 1

Author:  Tonylam1604 [ Fri Nov 18, 2016 1:40 pm ]
Post subject:  Base Conversion

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 ??

Author:  profkelly [ Tue Nov 22, 2016 1:42 pm ]
Post subject:  Re: Base Conversion

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.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group