Re: A83: Pixel/Line/Rectangle Routines. =)


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

Re: A83: Pixel/Line/Rectangle Routines. =)




Well, you're right that "xor a" would not be an Exact replacement of "ld a, 1"
but he altered my routine at the CPs by using "dec a" and this would still
allow for the second "xor a" to work... =P
														--Jason K.


In a message dated 12/22/98 11:54:39 AM, homosapian@geocities.com writes:

>You had an incorrect optimization:
>This is correct: >-      xor a                   ; optimized "ld a, 0"
>But this isn't: >-      xor a                   ; optimized "ld a,1"  
>
>You could though xor a / inc a but that is one tick slower than ld a, 1
>-- 
>Scott "_Wrath_" Dial
>homosapian@geocities.com
>ICQ#3608935
>http://www.geocities.com/~homosapian/