1. Does anyone have a list of opcodes along with the number of clock cycles they use up?
2. When comparing speeds of code, is it enough to just compare the number of clock cycles that each instruction takes? Or is it more complex than that (I'm talking about instruction-by-instruction comparison at the moment, not looping or anything I realise that makes things infinitely more complex).
3. For things like shifting does shifting by 25 bits (for example) take the same time as shifting by 1 bit? Or is it 25 times longer?
I'm used to High level languages as you can probably tell and I'm finding it difficult to comprehend the speed of ASM.
("Damn this thing its not working, it just returns immediately!! Oh wait its finished already, bloody hell")




)
Reply With Quote