Re: A83: _convop1 prime


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

Re: A83: _convop1 prime




In a message dated 8/13/99 4:45:58 PM Central Daylight Time, Ted21@aol.com 
writes:

> Does anyone know a romcall that will do the exact opposite of the romcall 
>  _convop1 (moves op1 into register de).  I want to move a register into 
op1.  
> 
>  Any help will be appreciated.
>  
>  Ted
>  

There's _setxxop1 and _setxxxxop2, but im sure youre familiar with those 
already.  For a way to put DE into OP1, try this...

push de
call _zeroop1
pop de
ld (OP1+0), e
ld (OP1+1), d

although the problem there is that I am not sure of the order D and E should 
be loaded into OP1, perhaps someone else knows that. Another problem is it 
could destroy many other registers, im not sure of which either, but maybe 
this process can help you. cya...

Jason_K
TCPA Member
tcpa.calc.org