Podcast
Questions and Answers
Which of these pins are reassigned during maximum mode operation?
Which of these pins are reassigned during maximum mode operation?
- Pins 17 - 23
- Pins 9 - 16
- Pins 24 - 31 (correct)
- Pins 1 - 8
What does grounding the MN/MX pin signify?
What does grounding the MN/MX pin signify?
- Disabled interrupt flag
- Enabled interrupt flag
- Minimum mode operation
- Maximum mode operation (correct)
Which of these pins are bidirectional?
Which of these pins are bidirectional?
- QS0 and QS1
- BHE and A16
- LOCK and MN/MX
- RQ/GT0 and RQ/GT1 (correct)
What does the LOCK prefix instruction achieve?
What does the LOCK prefix instruction achieve?
Which of the following statements regarding the Bus Interface Unit (BIU) is true?
Which of the following statements regarding the Bus Interface Unit (BIU) is true?
What happens to the Stack Pointer (SP) when executing a PUSH instruction?
What happens to the Stack Pointer (SP) when executing a PUSH instruction?
Which of the following correctly describes the operation of the IN instruction?
Which of the following correctly describes the operation of the IN instruction?
In the case of the POP instruction, what is the effect on the Stack Pointer (SP)?
In the case of the POP instruction, what is the effect on the Stack Pointer (SP)?
Which operands can be used with the OUT instruction?
Which operands can be used with the OUT instruction?
What is the main function of the XCHG instruction?
What is the main function of the XCHG instruction?
What flag indicates that a comparison resulted in a less than condition when using CMP AL, data8?
What flag indicates that a comparison resulted in a less than condition when using CMP AL, data8?
When executing CMP AX, data16, what flags would be set if AX equals data16?
When executing CMP AX, data16, what flags would be set if AX equals data16?
Which mnemonic is used for logical negation in arithmetic instructions?
Which mnemonic is used for logical negation in arithmetic instructions?
In the CMP instruction, which flag indicates a positive result when comparing two values?
In the CMP instruction, which flag indicates a positive result when comparing two values?
Which logical instruction will shift bits to the right and fill in zeros on the left?
Which logical instruction will shift bits to the right and fill in zeros on the left?
What does the SUB instruction do?
What does the SUB instruction do?
If the result of a CMP instruction is zero, which flag is set?
If the result of a CMP instruction is zero, which flag is set?
Which of the following logical instructions is not part of the 8086 instruction set?
Which of the following logical instructions is not part of the 8086 instruction set?
Which addressing mode directly specifies an 8-bit or 16-bit data as part of the instruction?
Which addressing mode directly specifies an 8-bit or 16-bit data as part of the instruction?
What is the maximum amount of memory the 8086 microprocessor can address?
What is the maximum amount of memory the 8086 microprocessor can address?
Which addressing mode allows the use of a base register combined with an index register?
Which addressing mode allows the use of a base register combined with an index register?
In which addressing mode is the actual address of a byte in memory calculated based on a combination of registers?
In which addressing mode is the actual address of a byte in memory calculated based on a combination of registers?
Which of the following does not involve any data being directly specified in the instruction?
Which of the following does not involve any data being directly specified in the instruction?
What does the directive 'END' do in an assembly program?
What does the directive 'END' do in an assembly program?
Which directive informs the assembler that data must start from an even address?
Which directive informs the assembler that data must start from an even address?
What is the purpose of the 'ORG' directive?
What is the purpose of the 'ORG' directive?
What does the 'ASSUME' directive do?
What does the 'ASSUME' directive do?
What does the 'EQU' directive accomplish?
What does the 'EQU' directive accomplish?
Which directive is used to establish the beginning of a code, data, or stack segment?
Which directive is used to establish the beginning of a code, data, or stack segment?
What information does the 'DB' directive provide?
What information does the 'DB' directive provide?
If 'LOOP EQU 10FEH' is defined, what is the value of 'LOOP'?
If 'LOOP EQU 10FEH' is defined, what is the value of 'LOOP'?
What does the directive 'FAR' indicate?
What does the directive 'FAR' indicate?
What is the primary purpose of the 'MACRO' directive?
What is the primary purpose of the 'MACRO' directive?
Which type of addressing mode directly specifies a register holding the data?
Which type of addressing mode directly specifies a register holding the data?
What does Immediate Addressing mode indicate in terms of data?
What does Immediate Addressing mode indicate in terms of data?
What is the key characteristic of Direct Addressing mode?
What is the key characteristic of Direct Addressing mode?
In which addressing mode is the address of the operand specified indirectly through a register?
In which addressing mode is the address of the operand specified indirectly through a register?
Which of the following addressing modes is NOT specifically identified for memory data?
Which of the following addressing modes is NOT specifically identified for memory data?
What does Based Addressing mode utilize to determine the address of the operand?
What does Based Addressing mode utilize to determine the address of the operand?
Which addressing mode is specifically used for accessing data from I/O ports?
Which addressing mode is specifically used for accessing data from I/O ports?
Which addressing mode allows for the use of a string of data?
Which addressing mode allows for the use of a string of data?
Flashcards
Maximum Mode Operation
Maximum Mode Operation
A mode where MN/ MX is grounded, allowing multiple bus masters.
RQ/GT0 and RQ/GT1
RQ/GT0 and RQ/GT1
Bus Request/Bus Grant signals that manage bus access priority.
LOCK Signal
LOCK Signal
An output signal from the 8086 that prevents other bus masters from gaining control.
Execution Unit (EU)
Execution Unit (EU)
Signup and view all the flashcards
Bus Interface Unit (BIU)
Bus Interface Unit (BIU)
Signup and view all the flashcards
Based Index Addressing
Based Index Addressing
Signup and view all the flashcards
Immediate Addressing
Immediate Addressing
Signup and view all the flashcards
Direct Addressing
Direct Addressing
Signup and view all the flashcards
Relative Addressing
Relative Addressing
Signup and view all the flashcards
Register Indirect Addressing
Register Indirect Addressing
Signup and view all the flashcards
Addressing Modes
Addressing Modes
Signup and view all the flashcards
Register Addressing
Register Addressing
Signup and view all the flashcards
Based Addressing
Based Addressing
Signup and view all the flashcards
Indexed Addressing
Indexed Addressing
Signup and view all the flashcards
PUSH reg16
PUSH reg16
Signup and view all the flashcards
POP reg16
POP reg16
Signup and view all the flashcards
IN A, [DX]
IN A, [DX]
Signup and view all the flashcards
OUT [DX], A
OUT [DX], A
Signup and view all the flashcards
Memory Addressing (MA S)
Memory Addressing (MA S)
Signup and view all the flashcards
CMP Instruction
CMP Instruction
Signup and view all the flashcards
CF Flag
CF Flag
Signup and view all the flashcards
ZF Flag
ZF Flag
Signup and view all the flashcards
SF Flag
SF Flag
Signup and view all the flashcards
Logical Instructions
Logical Instructions
Signup and view all the flashcards
AND Instruction
AND Instruction
Signup and view all the flashcards
OR Instruction
OR Instruction
Signup and view all the flashcards
XOR Instruction
XOR Instruction
Signup and view all the flashcards
DB
DB
Signup and view all the flashcards
DW
DW
Signup and view all the flashcards
SEGMENT
SEGMENT
Signup and view all the flashcards
ENDS
ENDS
Signup and view all the flashcards
ASSUME
ASSUME
Signup and view all the flashcards
ORG
ORG
Signup and view all the flashcards
END
END
Signup and view all the flashcards
EVEN
EVEN
Signup and view all the flashcards
EQU
EQU
Signup and view all the flashcards
PROC
PROC
Signup and view all the flashcards
Study Notes
8086 Microprocessor
- The 8086 microprocessor was first released in 1978.
- It's now manufactured using the HMOS III technique.
- It has approximately 29,000 transistors.
- It has a 40-pin DIP and a 5V supply.
- It doesn't have an internal clock, using an external clock source with a 33% duty cycle.
- The 20-bit address allows it to access up to 1 megabytes (2^20) of memory space.
Addressing Modes
- Every instruction uses addressing modes to specify how data for the operation is obtained.
- There are 12 different addressing modes: Register, Immediate, Direct, Register Indirect, Based, Indexed, Based Indexed, String, Direct I/O port, Indirect I/O port, Relative, and Implied.
- Groups are:
- Group I: Register and Immediate
- Group II: Memory data
- Group III: I/O ports
- Group IV: Relative
- Group V: Implied
Instruction Set
- The 8086 instruction set includes 6 categories:
- Data Transfer Instructions
- Arithmetic Instructions
- Logical Instructions
- String Manipulation Instructions
- Processor Control Instructions
- Control Transfer Instructions
Registers
- The 8086 microprocessor has general-purpose, pointer, index, and segment registers.
- Each register type has specific functions, for example some are 16-bit and can be broken down into 2 8-bit registers (BX, and AX).
- Registers can store data, or temporary values needed during calculations, or pointers indicating locations in memory, or for specifying particular segments of memory.
Assemble Directives
- Assembler directives give instructions to the assembler about how the program should be organized.
- They tell the assembler how to allocate memory and where to store different sections of the program.
- Types of assembler directives include:
- DB (Define Byte)
- DW (Define Word)
- SEGMENT and ENDS (marking code segments or data segments)
- ASSUME (telling the assembler what segments the code should be placed in)
- ORG (specifying memory location where the code begins)
- EQU (defining values of variables)
- PROC and ENDP (specifying the beginning and end of procedures/subroutines)
- MACRO and ENDM (defining macros)
- Other common directives
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.