movb
movb is the mnemonic for the move byte instruction in x86 assembly. It performs an 8-bit data transfer between a source and a destination, making it the byte-sized member of the MOV family (the others being movw, movl, movq for 16, 32, and 64 bits respectively). In practice, movb copies a single byte from a source operand to a destination operand.
Operands can be 8-bit registers or memory locations. In 64-bit mode, the 8-bit registers include al, bl,
Flags are unaffected by movb; the instruction does not modify the processor’s status flags.
Common usage includes copying a byte from memory to a register, transferring a byte between registers, or
See also: mov (the generic form), movw/movl/movq (larger sizes), movzx/movsx (zero- or sign-extension).