Microprocessor and Assembly Language 8085 8086

Description

ThirdYear Third Year Quiz on Microprocessor and Assembly Language 8085 8086, created by Faheem Ahmed on 20/10/2017.
Faheem Ahmed
Quiz by Faheem Ahmed, updated more than 1 year ago
Faheem Ahmed
Created by Faheem Ahmed over 6 years ago
955
0

Resource summary

Question 1

Question
In 8085 microprocessor, the value of the most significant bit of the result following the execution of any arithmetic or Boolean instruction is stored in the
Answer
  • carry flag
  • auxiliary carry flag
  • sign flag
  • zero flag

Question 2

Question
How many bytes in a double word ?
Answer
  • 1 byte
  • 2 bytes
  • 3 bytes
  • 4 bytes

Question 3

Question
What is the value of AX register after executing, MOV AX,456h, CMP AX,456h
Answer
  • 456h
  • Zero
  • UnKnown
  • 400h

Question 4

Question
The instruction AND AH,11110111 is equivalent to
Answer
  • Sub AH, 8, if 4th bit of AH is set
  • Sub AH, 8, if 4th bit of AH is cleared
  • Sub AH, 4, if 4th bit of AH is set
  • None of the above

Question 5

Question
The debug command U
Answer
  • Retrieve the assembly program instructions from the disk
  • Retrieve the assembly program instructions from the RAM
  • Convert the machine code stored in memory into assembly equivalent
  • None of the above

Question 6

Question
The debug command: -E F000:0 1 2 3
Answer
  • Has no effect, because that location in ROM
  • Will write three bytes (1,2,3) starting at location F000:0
  • Depends on the processor
  • Invalid command

Question 7

Question
Consider the program segment: Age DB 100 MOV Age,123 What is the memory-addressing mode of the first operand in the MOV instruction?
Answer
  • Immediate addressing mode
  • Direct addressing mode
  • Indirect addressing mode
  • Implied addressing

Question 8

Question
The multiple Segment:Offset representations for a unique physical address is:
Answer
  • Advantage for 8086 processor to provide flexibility
  • Disadvantage for 8086 processor, it make it harder to program
  • Has no effect.

Question 9

Question
Algorithms are designed using combinations of three main building blocks (control structures), called...
Answer
  • loops, if/then/else statements and functions
  • quark, strangeness and charm
  • syntax, choice and loops
  • sequence, selection and repetition

Question 10

Question
Pseudocode...
Answer
  • is written with specialised editing software
  • cannot describe if...then...else constructs
  • provides a pictorial representation of an algorithm
  • has features of both English and computer languages

Question 11

Question
In an 8085 microprocessor, the instruction CMP B has been executed while the content of the accumulator is less than that of register B. As a result
Answer
  • Carry flag will be set but zero flag will be reset.
  • Carry flag will be reset but zero flag will be set.
  • Both Carry flag and zero flag will be reset.
  • Both Carry flag and zero flag will be set.

Question 12

Question
Consider the sequence of 8085 instructions given below: LXI H, 9258 MOV A, M CMA MOV M, A which one of the following is performed by this sequence?
Answer
  • Contents of location 9258 are moved to the accumulator.
  • Contents of location 9258 are compared with the contents of accumulator
  • Contents of location 9258 are complemented and stored in location 9258
  • Contents of location 5892 are complemented and stored in location 5892

Question 13

Question
The 2' s complement representation of the decimal value (minus) - 15 is
Answer
  • 1111
  • 11111
  • 111111
  • 10001

Question 14

Question
The instruction, MOV AX, 1234H is an example of
Answer
  • Register addressing mode
  • Direct addressing mode
  • Immediate addressing mode
  • Based indexed addressing mode

Question 15

Question
Match the following: 1. A Push Instruction a. Pre Increment the SP 2. A Pop Instruction. b. Post Increment the SP c. Pre Decrement the SP d. Post Decrement the SP.
Answer
  • 1-> a, 2 -> b
  • 1->b, 2 -> c
  • 1-> c, 2 -> d
  • 1-> d, 2->a

Question 16

Question
In 8085, which of the following modifies the program counter ?
Answer
  • Only PCHL instruction
  • Only ADD instructions
  • Only JMP and CALL instructions
  • All instructions

Question 17

Question
The instruction that is used as prefix to an instruction to execute it repeatedly until the CX register becomes zero is
Answer
  • SCAS
  • REP
  • CMPS
  • STOS

Question 18

Question
In 8086 microprocessor one of the following statements is NOT true.
Answer
  • Coprocessor is interfaced in MAX mode
  • Coprocessor is interfaced in MIN mode
  • I/O can be interfaced in MAX / MIN mode
  • Supports pipelining

Question 19

Question
The status flag that cannot be operated by direct instruction is
Answer
  • Cy
  • Z
  • P
  • AC
  • S

Question 20

Question
Interfacing devices for DMA controller, programmable interval timer are respectively
Answer
  • 8257, 8253
  • 8253, 8257
  • 8257,8251
  • 8251,8257

Question 21

Question
Which of the following are the three basic sections of a microprocessor unit?
Answer
  • operand, register, and arithmetic/logic unit (ALU)
  • control and timing, register, and arithmetic/logic unit (ALU)
  • control and timing, register, and memory
  • arithmetic/logic unit (ALU), memory, and input/output

Question 22

Question
The instruction, MOV AX, [BX] is an example of
Answer
  • direct addressing mode
  • register addressing mode
  • register relative addressing mode
  • register indirect addressing mode

Question 23

Question
Which of the following instruction is NOT valid?
Answer
  • MOV AX, BX
  • MOV DS, 5000H
  • MOV AX, 5000H
  • PUSH AX

Question 24

Question
The instruction that is used for finding out the codes in case of code conversion problems is
Answer
  • XCHG
  • XLAT
  • XOR
  • JCXZ

Question 25

Question
The instruction that performs logical AND operation and the result of the operation is not available is
Answer
  • AAA
  • AND
  • TEST
  • XOR

Question 26

Question
The instruction that is NOT valid is
Answer
  • MOV AX, [BX]
  • MOV AX, 5555H
  • MOV AX, [SI]
  • MOV [SI], [DI]

Question 27

Question
In 8086 microprocessor, the stack segment may have a memory block of a maximum of
Answer
  • 32K bytes
  • 64K bytes
  • 16K bytes
  • 8K bytes
  • Unlimited bytes.

Question 28

Question
In 8086 the overflow flag is set when______.
Answer
  • The sum is more than 16 bit
  • Carry and sign flags are set
  • Signed numbers go out of their range after an arithmetic operation
  • During subtraction

Question 29

Question
Direction flag is used with ____.
Answer
  • String instructions
  • Arithmetic Instructions
  • Stack Instructions
  • Branch Instructions

Question 30

Question
If_________ flag is set; the processor enters the single step execution mode.
Answer
  • Direction
  • Trap
  • Interrupt
  • Zero

Question 31

Question
If segment address = 1005 H, offset address = 5555 H, then the physical address is_____.
Answer
  • 6555A H
  • 155A5 H
  • 45500 H
  • 56555 H

Question 32

Question
BHE of 8086 microprocessor signal is used to interface the_____
Answer
  • I/O
  • DMA
  • Even bank memory
  • Odd bank memory
Show full summary Hide full summary

Similar

BMSC335 Lecture 3 Week 1
Maddie McIntyre
Peptic Ulcer
Miar Abdelhamid
Immunology
El Prs
Insurance Quiz
crabbette
CHEMISTRY C1 1
x_clairey_x
Food Vocabulary Quiz
Liz Bartik
Who was to blame for the Cold War?
Will Barnes
GCSE REVISION TIMETABLE
haameem1999
Summary of AS Psychology Unit 1 Memory
Asterisked
Organic Chemistry
Megan Tarbuck
Geometry Vocabulary
patticlj