flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 22 Aug 2012, 08:51
REP only works with the string instructions: MOVS, CMPS, LODS, STOS
The Intel and AMD manuals state this quite clearly. |
|||
![]() |
|
Krecik 22 Aug 2012, 12:06
I tested and REP works also with SCAS and others instructions.
Are the REP operations faster than looping by J# conditions? |
|||
![]() |
|
JohnFound 22 Aug 2012, 17:56
SCAS is also string instruction. revolution simply forgot about it. REP (of all kinds) does not work with CMP.
Use SCAS instead. |
|||
![]() |
|
revolution 23 Aug 2012, 05:32
JohnFound wrote: SCAS is also string instruction. revolution simply forgot about it. Krecik wrote: Are the REP operations faster than looping by J# conditions? |
|||
![]() |
|
Krecik 23 Aug 2012, 08:48
Thank you both.
I learn something new every day! |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.