flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
CandyMan 10 Jul 2018, 09:50
which instruction is quicker?
Code: cmp eax,[0x12345678] or Code: cmp [0x12345678],eax _________________ smaller is better |
|||
![]() |
|
revolution 11 Jul 2018, 01:08
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.