Podcast
Questions and Answers
What is the effect of the instruction 'MOV AX, 5000H'?
What is the effect of the instruction 'MOV AX, 5000H'?
How many bytes are pushed onto the stack by the instruction 'PUSH AX'?
How many bytes are pushed onto the stack by the instruction 'PUSH AX'?
Which segment does the base pointer (BP) reference when addressing memory?
Which segment does the base pointer (BP) reference when addressing memory?
What does the instruction 'JMP [BX]' do?
What does the instruction 'JMP [BX]' do?
Signup and view all the answers
Which of the following statements about the stack is true?
Which of the following statements about the stack is true?
Signup and view all the answers
When data is popped from the stack, which bits are removed from the location addressed by SP?
When data is popped from the stack, which bits are removed from the location addressed by SP?
Signup and view all the answers
Which register consists of 32 bits in 80386 and above?
Which register consists of 32 bits in 80386 and above?
Signup and view all the answers
How many bytes are popped from the stack by the instruction 'POP EBX'?
How many bytes are popped from the stack by the instruction 'POP EBX'?
Signup and view all the answers
What is the outcome of multiplying two 8-bit numbers?
What is the outcome of multiplying two 8-bit numbers?
Signup and view all the answers
Which instruction is used to subtract the contents at memory location addressed by DI from AX?
Which instruction is used to subtract the contents at memory location addressed by DI from AX?
Signup and view all the answers
What does the IMUL instruction signify?
What does the IMUL instruction signify?
Signup and view all the answers
What does the instruction MUL CL perform?
What does the instruction MUL CL perform?
Signup and view all the answers
What is the result when two 16-bit numbers are multiplied?
What is the result when two 16-bit numbers are multiplied?
Signup and view all the answers
When two 16-bit numbers are multiplied, where does the resulting product appear?
When two 16-bit numbers are multiplied, where does the resulting product appear?
Signup and view all the answers
Which instruction is used to multiply AL with the byte contents at the memory location addressed by BX?
Which instruction is used to multiply AL with the byte contents at the memory location addressed by BX?
Signup and view all the answers
What does the IDIV CL instruction accomplish?
What does the IDIV CL instruction accomplish?
Signup and view all the answers
What is the meaning of the DIV SI instruction?
What is the meaning of the DIV SI instruction?
Signup and view all the answers
Which arithmetic instruction divides AX by the byte at the BP memory location with the signed quotient in AL and signed remainder in AH?
Which arithmetic instruction divides AX by the byte at the BP memory location with the signed quotient in AL and signed remainder in AH?
Signup and view all the answers
Which instruction divides DX-AX by the word contents at the BP memory location with the unsigned quotient in AX?
Which instruction divides DX-AX by the word contents at the BP memory location with the unsigned quotient in AX?
Signup and view all the answers
Which of the following statements is true regarding the effect on the flag register?
Which of the following statements is true regarding the effect on the flag register?
Signup and view all the answers
What is the effect of the TEST instruction in terms of its operation?
What is the effect of the TEST instruction in terms of its operation?
Signup and view all the answers
Which statement correctly describes the NOT and NEG instructions?
Which statement correctly describes the NOT and NEG instructions?
Signup and view all the answers
If the register AL contains the binary value 01010010B, what will AL contain after executing the NEG AL instruction?
If the register AL contains the binary value 01010010B, what will AL contain after executing the NEG AL instruction?
Signup and view all the answers
After executing AND DX, [SI] with given values DX = AAAAH, SI = 0100, what is the resulting value?
After executing AND DX, [SI] with given values DX = AAAAH, SI = 0100, what is the resulting value?
Signup and view all the answers
What is the result in the destination operand after executing the instruction XOR AX, [SI+BX] given AX = 5555H and BX = 0010H?
What is the result in the destination operand after executing the instruction XOR AX, [SI+BX] given AX = 5555H and BX = 0010H?
Signup and view all the answers
What is the value of the destination operand after executing NOT [0300H] if DS: 300H equals AAH?
What is the value of the destination operand after executing NOT [0300H] if DS: 300H equals AAH?
Signup and view all the answers
What does the command SHR ECX, 10 signify?
What does the command SHR ECX, 10 signify?
Signup and view all the answers
To perform an arithmetic left shift on the register BX five times, which instruction should be used?
To perform an arithmetic left shift on the register BX five times, which instruction should be used?
Signup and view all the answers
What does the instruction RCL BL, 6 indicate?
What does the instruction RCL BL, 6 indicate?
Signup and view all the answers
Which instruction is used to rotate register AH to the right including the carry flag, using the number specified in CL?
Which instruction is used to rotate register AH to the right including the carry flag, using the number specified in CL?
Signup and view all the answers
What does the instruction ROR EDX, 18 do?
What does the instruction ROR EDX, 18 do?
Signup and view all the answers
What is the typical size of the opcode field in a machine language instruction?
What is the typical size of the opcode field in a machine language instruction?
Signup and view all the answers
What does a mode field value of 11 indicate?
What does a mode field value of 11 indicate?
Signup and view all the answers
What does a mode field value of 00 signify?
What does a mode field value of 00 signify?
Signup and view all the answers
What is indicated by a mode field value of 10?
What is indicated by a mode field value of 10?
Signup and view all the answers
Given the machine language instruction 8A15H, what is the corresponding assembly language instruction?
Given the machine language instruction 8A15H, what is the corresponding assembly language instruction?
Signup and view all the answers
For the machine language instruction 8BECH, what is the corresponding assembly language instruction?
For the machine language instruction 8BECH, what is the corresponding assembly language instruction?
Signup and view all the answers
What is the machine language instruction for the assembly language instruction Mov SI, [BX+2]?
What is the machine language instruction for the assembly language instruction Mov SI, [BX+2]?
Signup and view all the answers
What is the address accessed by MOV [SI+100H], EAX with DS=1000H, SS=2000H, BP=1500H, BX=0100, and SI=0200H?
What is the address accessed by MOV [SI+100H], EAX with DS=1000H, SS=2000H, BP=1500H, BX=0100, and SI=0200H?
Signup and view all the answers
What is the corresponding assembly language instruction for the machine language instruction 8A5501H?
What is the corresponding assembly language instruction for the machine language instruction 8A5501H?
Signup and view all the answers
The bit that is set if the result of the computation or comparison performed by an instruction is zero is known as what?
The bit that is set if the result of the computation or comparison performed by an instruction is zero is known as what?
Signup and view all the answers
Which bit is set when the result of any computation is negative?
Which bit is set when the result of any computation is negative?
Signup and view all the answers
In real mode, if the segment register value is E001H, what is the starting address of the segment?
In real mode, if the segment register value is E001H, what is the starting address of the segment?
Signup and view all the answers
In real mode, if the segment register value is 1234H, what is the ending address of the segment?
In real mode, if the segment register value is 1234H, what is the ending address of the segment?
Signup and view all the answers
What is the value of the physical address of the combination B2C0 : FA12 in real mode?
What is the value of the physical address of the combination B2C0 : FA12 in real mode?
Signup and view all the answers
What describes the memory segment's location, length, and access rights?
What describes the memory segment's location, length, and access rights?
Signup and view all the answers
What is the maximum length of the local and global descriptor tables?
What is the maximum length of the local and global descriptor tables?
Signup and view all the answers
In the descriptor format of the 80286 microprocessor, how many bytes does the base address consist of?
In the descriptor format of the 80286 microprocessor, how many bytes does the base address consist of?
Signup and view all the answers
Study Notes
Microprocessor Question Bank
- Memory Above 1MB: Called extended memory
- First 1MB of Memory: Often called real memory
- Cache Memory: High-speed temporary storage for data transfer between memory and the CPU
- 8KB Cache Microprocessor: Intel 80486
- 16MB Memory System Microprocessor: Intel 80386
- Address Bus: Requests memory or I/O location from memory or I/O devices
- Data Bus: Transfers information between the microprocessor, memory, and I/O addresses
- Control Bus Lines: Select and cause memory or I/O to perform read or write operations
- IORC Signal: Purpose is memory write control
- IOWC Signal: Purpose is I/O write control
- MWTC Signal: Purpose is memory write control
- MRDC Signal: A. Purpose is memory read control
- Bus: Set of common connections that carries the same type of information
- Memory Map: Windows & DOS memory have different memory maps
- Memory Size and Bus Width: Memory size depends on the address bus width. If data = 16-bit and address = 26-bit in 80386EX, memory size is 64MB. If data = 16-bit and address = 20-bit in 8086, memory size is 1MB.
- Pentium Microprocessor and Address/Memory Size: 32-bit address bus = 4GB memory on Pentium and 4GB on Pentium 4
- TPA in Memory Map (Windows): 2GB
- System Area in Windows Memory Map: 640KB
- TPA in DOS Memory Map (DOS): 640KB
- System Area in DOS Memory Map (DOS): 384KB
- Microprocessor Function: Data transfer between itself and memory, program flow with decisions, simple arithmetic & logic operations
- BIU (Bus Interface Unit): Fetches instructions, reads data from memory and I/O ports, writes data to memory and I/O ports.
- EU (Execution Unit): Executes instructions.
- Code Segment Register in 8086: Consists of 16 bits
- Stack Segment Register in 8086: Consists of 16 bits
- 8086 Microprocessor: 16-bit microprocessor, 20-bit address bus, 1MB memory
- Maximum Segment Size in 8086: 64KB
- Code Segment Register (CS): Contains the base or start address of the current code segment
- Data Segment Register (DS): Contains the 16-bit address pointing to the next instruction code within 64KB
- Instruction Pointer (IP): Contains the 16-bit offset address used with data segment area
- Base Pointer (BP): Points to the current data segment .
- Stack Pointer (SP): Points to the current stack
- Register, AX: Consist of 16 bit
- Register, BL: Consist of 8 bit
- Flags Register: Responsible for indicating the result of addition, memory condition, or condition of result of ALU operations or result of subtraction
- Output Flag: If the results of computation is zero
- Carry Flag: If there is a carry in case of addition
- Overflow Flag: If the result of a computation is negative
- Memory Addresses: Real-mode addressing in 8086, involves segment and offset values
Other Information
- Descriptor Tables: Maximum length is 64KB, base addresses(3-bytes), limits(2.5 bytes) vary with microprocessor type (80286, 80386, Pentium II).
- Instruction Types: Register addressing mode, direct addressing mode, immediate addressing mode, based indexed addressing mode.
- Flags (Flags Register): Zero flag, carry flag, sign flag, overflow flag
- Arithmetic Operations: instructions involving addition, subtraction, multiplication, division.
- Logical Operations: Instructions like AND, OR, XOR, NOT
- Shift operations: instructions involve shifting right/left
- Transfer Instructions: instructions for transfer data between registers, transfer data between register and memory.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Related Documents
Description
Test your knowledge on microprocessor architecture and memory concepts with this quiz. Topics include cache memory, address buses, and different types of microprocessors. Perfect for students and enthusiasts looking to reinforce their understanding of microprocessor functionality.