Chapter 8 Flashcards

1
Q

Can register be subtracted

A

No

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

Can 2 base registers be added

A

No

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

Can 2 indices be added

A

No

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

What is formula of effective address

A

EA = base + index + offset

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

What is the formula of physical address

A

Physical address = segment * 0x10 + EA

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

What is segment wrap around

A

Removing extra bit

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

What is memory wrap around

A

Removing extra bit

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

What is jz

A

jump is zero

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

What is je

A

jump if equal

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

What is jne

A

jump if not equal

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

What is jc

A

jump if carry

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

What is jnc

A

jump if not carry

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

What is ja

A

Jump if above

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

What is jb

A

Jump if below

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

What is jl

A

jump if less

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

What is jg

A

jump if greater

17
Q

What is jae

A

jump if above or equal

18
Q

What is jbe

A

jump if below or equal

19
Q

What is jge

A

jump if greater or equal

20
Q

What is jle

A

jump if less or equal

21
Q

What is jno

A

jump if not overflow

22
Q

What is jns

A

jump if not sign

23
Q

What is jcxz

A

jump if cx register is zero [cx=0]. It is special jump and not dependent on flag.

24
Q

What is CMP

A

The basic root instruction for all comparisons is CMP standing for compare.

25
Q

What is operation of CMP

A

The operation of CMP is to subtract the source operand from the destination operand, updating the flags without changing either the source or the destination.

26
Q

What is the role of cary flag

A

The carry flag plays the role of borrow during the subtraction operation. It carry the overflow.

27
Q

What is the difference between signed and unsigned numbers

A

In unsigned numbers only the magnitude of the number is important, whereas in signed numbers both the magnitude and the sign are important.

28
Q

16th bit holds what

A

It holds data, not the sign.