Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TASM 2.x / MASM 6.x Assembly Language - <b>mov move (byte or word) flags: not altered</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
MOV              Move (Byte or Word)                 Flags: not altered

MOV destination,source

          Logic:    destination . source

    MOV copies a byte or word from the source into the destination.

  --------------------------------------------------------------------------
   Operands                  Clocks   Transfers  Bytes   Example
                           byte(word)
   register, register          2          -        2     MOV BX,CX
   memory, accumulator       10(14)       1        3     MOV MEM_DEST,AL
   accumulator, memory       10(14)       1        3     MOV AX,MEM_SOURCE
   memory, register        9(13) + EA     1       2-4    MOV MEM_DEST,BX
   register, memory        8(12) + EA     1       2-4    MOV BX,MEM_SOURCE
   register, immediate         4          -       2-3    MOV BX,0F6CDh
   memory, immediate      10(14) + EA     1       3-6    MOV MASK,0F6CDh
   seg-reg, reg16              2          -        2     MOV DS,BX
   seg-reg, mem16          8(12) + EA     1       2-4    MOV DS,SEGMENT_VAL
   reg16, seg-reg              2          -        2     MOV BP,SS
   memory, seg-reg         9(13) + EA     1       2-4    MOV CODE_VAR,CS
  --------------------------------------------------------------------------

See Also: MOVS PUSH POP XCHG XLAT EA

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson