Re: A86: OP1


[Prev][Next][Index][Thread]

Re: A86: OP1



The OP registers are 11 bytes long, floating point numbers are 10 bytes long.

Later,
Pat

------------------
Original text

From: Steve86Asm@aol.com, on 10/28/97 11:49 PM:
In a message dated 97-10-28 18:08:40 EST, you write:

> 
>  (Im just learning so this may seem simple to you)
>  How load something into OP1 or load OP1 into something else?
>  What can load into OP1, all registers?
>  Is it the same for OP2?
>  

OP registers are actually memory locations in RAM.  Also, they are 10 bytes,
and represent floating point #'s, so they can't be directly loaded into the
Z80 registers.  OP1 can, however, be loaded into HL by the call ConvHL, or
however the caps goes.  Converting a register to an OP is much more
difficult, and can be accomplished with a djnz loop, where you take the # in
b and increment OP1 that many times.

~Steve



Follow-Ups: References: