pub enum Group1Prefix {
Lock,
REPNorBND,
REP_,
}
Variants§
Lock
The LOCK prefix (0xf0
). From the reference manual:
The LOCK prefix (F0H) forces an operation that ensures exclusive use of shared memory in a multiprocessor environment. See “LOCK—Assert LOCK# Signal Prefix” in Chapter 3, Instruction Set Reference, A-L, for a description of this prefix.
REPNorBND
A REPNE/REPNZ prefix (0xf2
) or a BND prefix under certain conditions.
REP*
prefixes apply only to string and input/output instructions but
can be used as mandatory prefixes in other kinds of instructions (e.g.,
SIMD) From the reference manual:
Repeat prefixes (F2H, F3H) cause an instruction to be repeated for each element of a string. Use these prefixes only with string and I/O instructions (MOVS, CMPS, SCAS, LODS, STOS, INS, and OUTS). Use of repeat prefixes and/or undefined opcodes with other Intel 64 or IA-32 instructions is reserved; such use may cause unpredictable behavior.
Some instructions may use F2H, F3H as a mandatory prefix to express distinct functionality.
REP_
A REPE/REPZ prefix (0xf3
); REP*
prefixes apply only to string and
input/output instructions but can be used as mandatory prefixes in other
kinds of instructions (e.g., SIMD). See REPNorBND
for more details.