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