flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
CandyMan
which instruction is quicker?
Code: cmp eax,[0x12345678] or Code: cmp [0x12345678],eax _________________ smaller is better |
|||
![]() |
|
revolution
Measure it. Do you see any difference? If it it really important for you to know which is "quickest" then you will need to measure both variants in your production code to determine which variant works for you.
Other people here could run some test code on their systems, but this is unlikely to give you any useful information about what will happen in your code on your systems. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.