movsxb

8086 and later

Move Data with Sign or Zero Extend

movsxb ax, al | movsxb reg16, r/m8 | movsxb reg32, r/m8 | movsxb reg64, r/m8

MOVSX sign-extends its source (second) operand to the length of its destination (first) operand, and copies the result into the destination operand. MOVZX does the same, but zero-extends rather than sign-extending.

Loading...

Forms

Every form of movsxb the assembler accepts.

FormSinceNotes
movsxb ax, al8086
movsxb reg16, r/m8386
movsxb reg32, r/m8386
movsxb reg64, r/m8x86-64long