A83: Re: Re: Problem with a program
[Prev][Next][Index][Thread]
A83: Re: Re: Problem with a program
> Is 64,535 times not enough? If not, you could combine two 16 bit registers
and store the number in there. BCD math isn't
> too hard, but I am no expert, so I will leave it to the others to explain
it to you. :) As for the input routine, you'll
> just have to make your own.
BCD is supported by the Z80 with specific instructions (DAA) and adapted
other instructions (ADD, SUB, etc). There even is a special flag for BCD
control.
~Grauw
--
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<
email me: laurensh@geocities.com or ICQ: 10196372
visit the Datax homepage at http://datax.cjb.net/
MSX fair Bussum / MSX Marathon homepage: http://msxfair.cjb.net/
>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<
References: