Calculator Community > ASM
Assembly Coding Optimization
Fallen Ghost:
That's why I answered him this on UTI and Cemetech (didn't dare posting it on DS)
QuoteBegin-myself+-->QUOTE (myself)
Also, I just found out why I said the other is faster
c1-->CODE ec1
or a
calc84maniac:
@Jon: I said ADD HL,DE modified only the carry flags...
@Fallen Ghost: Fine, you win...
Fallen Ghost:
QuoteBegin-calc84maniac+16 Jun, 2007, 8:51-->QUOTE (calc84maniac @ 16 Jun, 2007, 8:51) @Jon: I said ADD HL,DE modified only the carry flags...
@Fallen Ghost: Fine, you win...
2nd message: Yays! But I still venerate your asm madskillz! :king:
1st: Add HL,DE does not mess up the z, p/v, s flags. it only uses carry and H and resets (or sets, whatever) N.
Halifax:
Sorry I just have to say this. I didn't even know it until I just read this article and I mean JUST read it.
But it resets the Z flag. The article says there is no such thing as the NZ flag because it is just an inversion of the Z flag.
*Halifax celebrates his small unknown victory!
Notice: This post was for comic relief.
Navigation
[0] Message Index
[*] Previous page
Go to full version