Chapter 18 Flashcards

1
Q

Does push and pop operations always done on word

A

Yes

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

How many block processing instructions in 8088

A

There are just 5 block processing instructions in 8088.

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

What is the special prefix that repeats the instruction in hardware

A

REP prefix

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

What are 5 block processing instructions

A

The five instructions are STOS, LODS, CMPS, SCAS, and MOVS called store string, load string, compare string, scan string, and move string respectively.

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

When byte is used, which register holds the value

A

AL

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

When word is used, which register holds the value

A

AX

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

String instruction can work from start to end of block or from end to start of block

A

it is bidirectional

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

What is the role of Direction Flag

A

The direction of movement is controlled with the Direction Flag (DF) in the flags register.

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

cld;

does what

A

clear direction flag

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

std;

does what

A

Set direction flag

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

What are the two variants of every instruction

A

byte

word

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

What is REP

A

It repeats

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

The prefixes REPE (repeat while equal) and REPNE (repeat while not equal) are used with which instruction

A

SCAS, CMPS

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