Author Topic: Assembly Coding Optimization  (Read 15064 times)

0 Members and 1 Guest are viewing this topic.

Fallen Ghost

  • Guest
Assembly Coding Optimization
« Reply #30 on: June 15, 2007, 03:32:00 pm »
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

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Assembly Coding Optimization
« Reply #31 on: June 16, 2007, 02:51:00 am »
@Jon: I said ADD HL,DE modified only the carry flags...

@Fallen Ghost: Fine, you win...
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Fallen Ghost

  • Guest
Assembly Coding Optimization
« Reply #32 on: June 16, 2007, 02:26:00 pm »
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:king2.gif

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.

Offline Halifax

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1334
  • Rating: +2/-1
    • View Profile
    • TI-Freakware
Assembly Coding Optimization
« Reply #33 on: June 16, 2007, 03:20:00 pm »
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.
There are 10 types of people in this world-- those that can read binary, and those that can't.