Re: A86: Re: _createreal
[Prev][Next][Index][Thread]
Re: A86: Re: _createreal
It would be easier if column and row were separate, so you'd do something
like this instead:
15.02->a ;15=col, 02=row
That way the asm prog could just load one byte for the column (the first 2
digits) and another byte for the row (the next two digits).
In a message dated 12/27/99 11:57:56 PM Eastern Standard Time,
malcolmj1@juno.com writes:
> that's a good idea. maybe store
> the real number where the first digit
> in the number (the exponent doesn't
> matter) is the row while the
> second and third digits in
> the next two bcd memory areas
> constitute the columns.
>
> so to put the number on row
> 2, column 15:
> :215->A
> :Asm(PutRAM)
> which would be the same
> as
> :2.15->A
> or
> :21.5->A
> because we won't be looking
> at the exponent (that
> $fc00) thing, but instead
> move straight
> to the bcd digits.
>
> the first nibble is
> the row, the second
> and third nibbles
> are the columns.
>
> that might work? what do
> you think?
----
Jonah Cohen
<ComAsYuAre@aol.com>
http://linux.hypnotic.org/~jonah/ (down)