๐—–๐—ต๐—ฎ๐—ฝ๐˜๐—ฒ๐—ฟ ๐Ÿฎ-๐Ÿญ: Internal Microprocessor Architecture Flashcards

1
Q

Is considered as this because its registers are used during application programming and are specified by the instructions.

A

Program Visible

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

Are considered as this because they are not addressable directly during applications programming, but may be used indirectly during system programming.

A

Program Invisible

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

What are the 8-bit registers

A

AH, AL, BH, BL, CH, CL, DH, DL

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

Are referred to when an instruction is formed using two-letter designations.

A

8-bit registers

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

What are the 16-bit registers

A

AX, BX, CX, DX, SP, BP, DI, SI, IP, FLAGS, CS, DS, ES, SS, FS, GS

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

What are the 32-bit registers?

A

EAX, EBX, ECX, EDX, ESP, EBP, EDI, ESI, EIP, EFLAGS

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

Override used to access lower-order byte

A

B

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

Override used to access lower-order word

A

W

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

Override used to access lower-order doubleword

A

D

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

Override used to access lower-order quadword

A

There is no special letter

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

What are the Multipurpose Registers?

A

RAX, RBX, RCX, RDX, RBP, RDI, RSI, R8 - R15

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

Is used for instructions such as multiplication, division and some of the adjustment instructions.

A

Accumulator (RAX)

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

32, 16, and 8 bit register reference of RAX

A

EAX; AX; AH or AL

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

Sometimes holds the offset address of a location in the memory system in all versions of the microprocessor.

A

Base Index (RBX)

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

32, 16, and 8 bit register reference of RBX

A

EBX; BX; BH & BL

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

Is a general-purpose register that also holds the count for various instructions.

A

Count (RCX)

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

32, 16, and 8 bit register reference of RCX

A

ECX; CX; CH or CL

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

Uses CL as the count

A

Shift and Rotate Intructions

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

Uses CX as count

A

Repeated String Instructions

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

Uses either CX or ECX as count

A

LOOP/LOOPD Instructions

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

If operated in the 64-bit mode, uses RCX for the counter.

A

LOOP

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

Examples of repeated string instructions

A

REP / REPE / REPNE

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

What does REP represent?

A

Repeat

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

What does REPE represent?

A

Repeat while Equal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What does REPNE represent?
Repeat while Not Equal
26
is a general-purpose register that holds a part of the result from a multiplication or part of the dividend before a division.
Data (RDX)
27
32, 16, and 8 bit register reference of RDX
EDX; DX; DH or DL
28
points to a memory location in all versions of the microprocessor for memory data transfers.
Base Pointer (RBP)
29
32, 16, and 8 bit register reference of RBP
EBP; BP; none
30
often addresses string destination data for the string instructions.
Destination Index (RDI)
31
32, 16, and 8 bit register reference of RDI
EDI; DI; none
32
often addresses source string data for the string instructions.
Source Index (RSI)
33
32, 16, and 8 bit register reference of RSI
ESI; SI; none
34
These registers are only found in the Pentium 4 and Core2 if 64-bit extensions are enabled.
R8 through R15
35
What are the special-purpose registers?
RIP, RSP and RFLAGS
36
What are the segment registers?
CS, DS, ES, SS, FS, and GS
37
addresses the next instruction in a section of memory defined as a code segment.
Instruction Pointer (RIP)
38
32, 16, and 8 bit register reference of RIP
EIP; IP; none
39
How many bit address does RIP contain at present to address a 1T flat address space?
40-bit address
40
addresses an area of memory called the stack.
Stack Pointer (RSP)
41
stores data through this pointer and is explained later in the text with the instructions that address stack data.
Stack Memory
42
32, 16, and 8 bit register reference of RSP
ESP; SP; none
43
indicate the condition of the microprocessor and control its operation.
RFLAGS
44
32, 16, and 8 bit register reference of RFLAGS
EFLAGS; FLAGS; none
45
What are the flag bits?
ID, VIP, VIF, AC, VM, RF, _ , NT, IOP1, IOP0, O, D, I, T, S, Z, _ , A, _ , P, _ , C
46
holds the carry after addition or the borrow after subtraction.
Carry (C)
47
is the count of ones in a number expressed as even or odd.
Parity (P)
48
Parity of logic 0
Odd Parity
49
Parity of logic 1
Even Parity
50
holds the carry (half-carry) after addition or the borrow after subtraction between bit positions 3 and 4 of the result.
Auxiliary Carry (A)
51
shows that the result of an arithmetic or logic operation is zero.
Zero (Z)
52
holds the arithmetic sign of the result after an arithmetic or logic instruction executes.
Sign (S)
53
Sign bit if S = 1
set or negative
54
Sign bit if S = 0
cleared or positive
55
enables trapping through an on-chip debugging feature.
Trap (T)
56
T flag logic that makes the microprocessor interrupt the flow of the program on conditions as indicated by the debug registers and control registers
Logic 1
57
T flag logic that disables the trapping (debugging) feature
Logic 0
58
controls the operation of the INTR (interrupt request) input pin
Interrupt (I)
59
Status of the INTR pin when I = 1
enabled
60
Status of the INTR pin when I = 0
disabled
61
What controls the state of the I flag bit?
STI (set I flag) and CLI (clear I flag) instructions
62
selects either the increment or decrement mode for the DI and/or SI registers during string instructions
Direction (D)
63
What happens to the registers when D = 1?
Decremented
64
What happens to the registers when D = 0?
Incremented
65
What controls the state of the D flag bit?
STD (set direction) and CLD (clear direction) instructions
66
indicates that the result has exceeded the capacity of the machine.
Overflow (O)
67
is used in protected mode operation to select the privilege level for I/O devices.
I/O privilege level (IOPL)
68
What happens when the current privilege level is higher or more trusted than the IOPL?
I/O executes without hindrance
69
What happens if the IOPL is lower than the current privilege level
interrupt occurs, causes execution to suspend
70
Highest or most trusted IOPL level
00
71
Lowest or least trusted IOPL level
11
72
indicates that the current task is nested within another task in protected mode operation.
Nested Task (NT)
73
is used with debugging to control the resumption of execution after the next instruction.
Resume (RF)
74
selects virtual mode operation in a protected mode system.
Virtual Mode (VM)
75
allows multiple DOS memory partitions that are 1M byte in length to coexist in the memory system.
Virtual Mode System
76
is used to simulate DOS in the modern Windows environment.
Virtual Mode (VM)
77
activates if a word or doubleword is addressed on a non-word or non-doubleword boundary.
Alignment Check (AC)
78
is a copy of the interrupt flag bit available to the Pentiumโ€“ Pentium 4 microprocessors.
Virtual Interrupt (VIF)
79
provides information about a virtual mode interrupt for the Pentiumโ€“Pentium 4 microprocessors. This is used in multitasking environments to provide the operating system with virtual interrupt flags and interrupt pending information
Virtual Interrupt Pending (VIP)
80
indicates that the Pentiumโ€“Pentium 4 microprocessors support the CPUID instruction.
Identification (ID)
81
provides the system with information about the Pentium microprocessor, such as its version number and manufacturer
CPUID
82
generate memory addresses when combined with other registers in the microprocessor.
Segment Registers
83
is a section of memory that holds the code (programs and procedures) used by the microprocessor.
Code (CS)
84
is a section of memory that contains most data used by a program.
Data (DS)
85
is an additional data segment that is used by some of the string instructions to hold destination data.
Extra (ES)
86
defines the area of memory used for the stack.
Stack (SS)
87
is determined by the stack segment and stack pointer registers.
Stack Entry Point
88
are supplemental segment registers available in the 80386โ€“Core2 microprocessors to allow two additional memory segments for access by programs.
FS and GS