Skip to main content

LoopEmitter

Trait LoopEmitter 

Source
pub trait LoopEmitter<A> {
    // Required method
    fn loop(&mut self, op0: A);
}
Expand description

LOOP (LOOP). Performs a loop operation using the RCX, ECX or CX register as a counter (depending on whether address size is 64 bits, 32 bits, or 16 bits). Note that the LOOP instruction ignores REX.W; but 64-bit address size can be over-ridden using a 67H prefix.

For more details, see the Intel manual.

Supported operand variants:

+---+----------+
| # | Operands |
+---+----------+
| 1 | Imm      |
| 2 | Label    |
| 3 | Sym      |
+---+----------+

Required Methods§

Source

fn loop(&mut self, op0: A)

Implementors§