Re: A83: CP with register DE?
[Prev][Next][Index][Thread]
Re: A83: CP with register DE?
Yes it does put it in 'a' but it also puts it in 'de' or 'e' for
what we need. This program will return. So I guess the call uses the
acculator to load it into e at the last (should probably take look at
the memory with calcem).
Jimmy
loop:
ld a, 20 ; \
call _setxxop1 ; |--- This is the equivalent to _getk
call _op1toop2 ; /
xor a ;Notice that I make a=0
call _op2toop1
call _convop1
cp 22 ; Take out this and it will return
ret z ; '' '' '' ''
ld a, e ; Take out this and it won't
cp 20 ; '' '' '' '''
ret z ; '' ''' ' ' ' ' ' ' '''''''
jp loop
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com