Chapter 4 Data Transfers, Addressing, and Arithmetic 4.1 Data Transfer Instructions 4.1.2 Operand Types Chapter 3 introduced x86 instruction formats: [label:] mnemonic [operands][ ; comment ] Instructions can have zero, one, two, or three operands. Here, we omit the label and comment fields for clarity: mnemonic mnemonic [destination] mnemonic [destination],[source] mnemonic [destination],[source-1],[source-2] There are three basic types of operands: • Immediate—uses a numeric literal expression…
Words 4921 - Pages 20