flat assembler
Message board for the users of flat assembler.
Index
> Main > When should I replace push ... with pusha? |
Author |
|
Victor Kindhart 17 Jun 2015, 14:53
The title says it all. When should I use pusha instead of push ..., push ... - I mean, when pusha gets faster than a couple of push instructions?
|
|||
17 Jun 2015, 14:53 |
|
shutdownall 17 Jun 2015, 16:10
Hard to say - pusha would in first save code space and might save execution time as well as there is only one instruction to read but do to pipelining this might be without noticeable effect. Anyway it uses more stack space so if you don't need to save all registers it is better to select them.
|
|||
17 Jun 2015, 16:10 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.