Chapter 18 Flashcards
Does push and pop operations always done on word
Yes
How many block processing instructions in 8088
There are just 5 block processing instructions in 8088.
What is the special prefix that repeats the instruction in hardware
REP prefix
What are 5 block processing instructions
The five instructions are STOS, LODS, CMPS, SCAS, and MOVS called store string, load string, compare string, scan string, and move string respectively.
When byte is used, which register holds the value
AL
When word is used, which register holds the value
AX
String instruction can work from start to end of block or from end to start of block
it is bidirectional
What is the role of Direction Flag
The direction of movement is controlled with the Direction Flag (DF) in the flags register.
cld;
does what
clear direction flag
std;
does what
Set direction flag
What are the two variants of every instruction
byte
word
What is REP
It repeats
The prefixes REPE (repeat while equal) and REPNE (repeat while not equal) are used with which instruction
SCAS, CMPS