Chapter 3 Flashcards

1
Q

What is AX

A

Accumulator register

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

What is BX

A

Base register

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

What is CX

A

Counter register

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

What is DX

A

Destination register

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

What is SI

A

Source index register (for memory reading)

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

What is DI

A

Destination index register (for memory writing)

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

What is IP

A

Instruction pointer register

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

What is SP

A

Stack pointer register

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

What is BP

A

Base pointer register

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

What is C in flag register

A

Carry bit

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

What is P in flag register

A

Parity bit

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

What is A in flag register

A

auxiliary carry bit

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

What is Z in flag register

A

Zero bit

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

What is S in flag register

A

Sign bit

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

What is T in flag register

A

Trap flag

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

What is I in flag register

A

Interrupt flag

17
Q

What is D in flag register

A

Direction flag

18
Q

What is O in flag register

A

Overflow flag

19
Q

What is CS

A

Code segment register

20
Q

What is DS

A

Data segment register

21
Q

What is SS

A

Stack segment register

22
Q

What is ES

A

Extra segment register

23
Q

How we write Move 5 to AX in assembly

A

mov ax, 5
(Note: it is intel convention that it writes destination first and source in second) (syntax: instruction destination, source)

24
Q

How we write add BX to AX

A

add ax, bx

Note: it is intel convention that it writes destination first and source in second

25
Q

What is assembler of assembly language

A

NASM (Netwide assembler) by intel

26
Q

What is linking

A

Object code is not executable. We need to linking it to make it executable by linker. Alink is an open source linker for this purpose

27
Q

What does debugger do

A

It does debug on register level. We use AFD (Advance fullscreen debugging)

28
Q

What is opcode

A

Its a number translated from instruction for processor

29
Q

MSB to LSB called what notation

A

Little endian notation

30
Q

LSB to MSB called what notation

A

Big endian notation

31
Q

What is REGISTER ARCHITECTURE

A

The iAPX88 architecture consists of 14 registers.

32
Q

What is General Registers (AX, BX, CX, and DX)

A

The registers AX, BX, CX, and DX behave as general purpose registers in Intel architecture and do some specific functions in addition to it. X in their names stand for extended meaning 16bit registers.

33
Q

What is Stack Pointer (SP)

A

It is a memory pointer and is used indirectly by a set of instructions.

34
Q

What is Base Pointer (BP)

A

It is also a memory pointer containing the address in a special area of memory called the stack

35
Q

What are Segment Registers (CS, DS, SS, and ES)

A

The code segment register, data segment register, stack segment register, and the extra segment register are special registers related to the Intel segmented memory model.