nunos
nunos

Reputation: 21409

Are x86 assembly instructions REPE/REPZ and REPNE/REPNZ equal?

Just a quick question:

Are REPE equal to REPZ and REPNE equal to REPNZ?

Thanks.

Upvotes: 3

Views: 3538

Answers (1)

Eli Bendersky
Eli Bendersky

Reputation: 273756

Yes - they are synonyms

The Intel manual volume 2B (Intel® 64 and IA-32 Architectures Software Developer's Manual Volume 2B: Instruction Set Reference, N-Z) says:

The REPZ and REPNZ prefixes are synonymous forms of the REPE and REPNE prefixes, respectively.)

Upvotes: 12

Related Questions