Chapter 4 Flashcards

1
Q

Data movement instructions

A

MOV, MOVSX, MOVZX, PUSH, POP, BSWAP, XCHG, XLAT, IN, OUT, LEA, LDS LES, LFS, LGS, LSS, LAHF, SAHF

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

String Instructions

A

MOVS, LODS, STOS, INS, OUTS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

CMOV

A

Condition Move Instruction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Are presented first because they are more commonly used in programs and are easy to understand

A

Data Movement Instructions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Latest data transfer instruction implemented on the Pentium Pro and above

A

CMOV

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Native binary code that the microprocessor understand and uses as its instructions to control its operation.

A

Machine Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Is introduced because it may occasionally be necessary to interpret machine language programs generated by an assembler or inline assembler of Visual C++

A

Machine Code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Machine language instructions for the 8086 through Core 2 vary in length from

A

1 to as many as 13 bytes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

66H

A

Register-size prefix

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

67H

A

Address size-prefix

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Appended to the front of the instructions

A

Register-size prefix

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Is used in a similar fashion

A

Address size-prefix (67H)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Should be selected to function with the current application

A

Mode of Operation (16 or 32 bit)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Selects the operation that is performed by the microprocessor

A

Opcode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Is either 1 or 2 bytes long for most machine language instructions

A

Opcode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The first 6 bits of the first byte are the

A

Binary opcode

17
Q

The two remaining bits in the first 6 bits of the first byte is called

A

Direction (D)

18
Q

D =1

A

To the register (REG) field from the R/M field

19
Q

D=0

A

To the R/M field from REG field

20
Q

Specifies the addressing mode for the selected instruction

A

MOD Field

21
Q

Are important instructions that store and retrieve data from LIFO stack memory

A

PUSH and POP

22
Q

Six forms of the PUSH and POP instructions

A

Register, memory, immediate, segment register, flags and all registers

23
Q

Allows the contents of any 16-bit register to be transferred to or from the stack

A

Register addressing

24
Q

Allows immediate data to be pushed onto the stack, but not popped off the stack.

A

Immediate Addressing

25
Q

Allows the contents of any segment register to be pushed onto the stack ot removed from the stack

A

Segment register addressing

26
Q

Always transfer 2 bytes of data to the stack; the 80386 and ab9ve transfer 2 or 4 bytes, depending on the register or size of the memory location

A

PUSH instruction

27
Q

Copies the contents of the internal register set, except the segment register, to the stack

A

PUSHA

28
Q

PUSHA instruction copies the registers to the stack in following order:

A

AX, CX, DX, BX, SP, BP, SI and DI

29
Q

Copies the contents of the flag register to the stack

A

PUSHF

30
Q

Push and pop the contents of the 32-bit register set found in the 80386 through Pentium 4.

A

PUSHAD and POPAD

31
Q

Performs the inverse operation of a PUSH instructions

A

POP instruction

32
Q

Removes data from the stackcand places it into the target 16-register, segment register or a 16-bit memory location

A

POP instruction

33
Q

POPA instruction removrs 16 bytes of data from the stack a d places them into the following register

A

DI, SI, BP, SP, BX DX, CX, and AX

34
Q

Removes 16-bit number from the stack and places it into the flag register

A

POPF

35
Q

Removes a 32-bit number from the stack and places it into the extended flag register

A

POPFD

36
Q

Reloads the 32-bit register from the stack

A

POPAD