Chapter 3 my notes

Chapter 3 my notes - Chapter 3 • MOV instruction...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Chapter 3 • MOV instruction transfers bytes or words of data between 2 registers or between registers and memory • Data addressing modes include register, immediate, direct, register indirect, base- plus index, register-relative, and base relative-plus-index • Memory addressing modes include program relative, direct, and indirect • MOV is an opcode operation code, tells the microprocessor which operation to perform • The source is to the right, the destination is to the left; both of these are next to the opcode MOV o The source and destination are always separated by a comma • Note: memory to memory transfers are NOT allowed except when used with the MOVS instruction • The MOV instruction always COPIES data, it never picks up data and moves it • Example: o MOV AX, BX Transfers the word contents of the source register (BX) into the destination register (AX) DATA ADDRESSING MODES • Register Addressing: o Transfers a copy of a byte or word from the source register or contents of a memory location to the destination register or memory location o Example : MOV AX,BX • I mmediate Addressing: o Transfers the source, an immediate byte, word, double-word, or quad-word of...
View Full Document

This note was uploaded on 06/20/2011 for the course EE 3750 taught by Professor Desouza during the Summer '08 term at LSU.

Page1 / 4

Chapter 3 my notes - Chapter 3 • MOV instruction...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online