The MASM Forum Archive 2004 to 2012
Welcome, Guest. Please login or register.
May 21, 2018, 12:31:46 PM

Login with username, password and session length
Search:     Advanced search
128553 Posts in 15254 Topics by 684 Members
Latest Member: mottt
* Home Help Search Login Register
+  The MASM Forum Archive 2004 to 2012
|-+  Miscellaneous Forums
| |-+  16 bit DOS Programming
| | |-+  huge Numbers in 16 bit
« previous next »
Pages: [1] Print
Author Topic: huge Numbers in 16 bit  (Read 2530 times)

huge Numbers in 16 bit
« on: November 25, 2005, 03:55:07 PM »

Iam very new in assemble and i will be very thankful  Sad
if you help me in that matter  Cry
how i can deal with huge numbers in 16 bit processor
how i can Input number as 566565666 and mul it by 75656565878
and output it

-input it
-deal with ia as number
-output it as ascii

Please Please Please >>>>>>>>>>>>>>help   Sad

Gender: Male
Posts: 941

Aging newbie

Re: huge Numbers in 16 bit
« Reply #1 on: November 25, 2005, 06:36:59 PM »

Have a look at this, then ask for clarifications if need be:


When you assume something, you risk being wrong half the time

Re: huge Numbers in 16 bit
« Reply #2 on: November 26, 2005, 09:13:03 PM »

[b][/b][size=10pt][/size] Thank you very very much Raymond
and iam already strarting in your tutorial and i will return for you  BigGrin
but i want mention that i already have little knowing
abou bcd and i know that the byte can hold 2
digit but iam serch about method can save memory . some friends told me to store the big Value in array and deal with word after word
but that way give me wrong result and when i tray to convert it to ascii it give me wrong result too .because when i store value as
AAAA AAAA (Dec=2863311530) when i tray to convert it ascii
by divide the first word as they told me by A(dec=10)
the Processor deal with the value as AAAA(dec=43690) as you see it's Wrong way or i can't apply it correctly

and other say to me.........
"No easy answer.  It's called "multiple-precision arithmetic".  Look in
volume 2 of Donald Knuth's classic series of books on computing." Sad

i wonder is this matter is very complex ? and how the old programs  deal with this problem
or maybe i unable to ask redface

any way my friend i will good study the tutorial maybe i have answers boohoo   
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP The MASM Forum Archive 2004 to 2012 | Powered by SMF 1.0.12.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!