Microprocessor and Assembly Language 8085 8086

Beschreibung

ThirdYear Third Year Quiz am Microprocessor and Assembly Language 8085 8086, erstellt von Faheem Ahmed am 20/10/2017.
Faheem Ahmed
Quiz von Faheem Ahmed, aktualisiert more than 1 year ago
Faheem Ahmed
Erstellt von Faheem Ahmed vor mehr als 6 Jahre
955
0

Zusammenfassung der Ressource

Frage 1

Frage
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
Antworten
  • carry flag
  • auxiliary carry flag
  • sign flag
  • zero flag

Frage 2

Frage
How many bytes in a double word ?
Antworten
  • 1 byte
  • 2 bytes
  • 3 bytes
  • 4 bytes

Frage 3

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

Frage 4

Frage
The instruction AND AH,11110111 is equivalent to
Antworten
  • 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

Frage 5

Frage
The debug command U
Antworten
  • 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

Frage 6

Frage
The debug command: -E F000:0 1 2 3
Antworten
  • 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

Frage 7

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

Frage 8

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

Frage 9

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

Frage 10

Frage
Pseudocode...
Antworten
  • 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

Frage 11

Frage
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
Antworten
  • 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.

Frage 12

Frage
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?
Antworten
  • 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

Frage 13

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

Frage 14

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

Frage 15

Frage
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.
Antworten
  • 1-> a, 2 -> b
  • 1->b, 2 -> c
  • 1-> c, 2 -> d
  • 1-> d, 2->a

Frage 16

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

Frage 17

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

Frage 18

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

Frage 19

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

Frage 20

Frage
Interfacing devices for DMA controller, programmable interval timer are respectively
Antworten
  • 8257, 8253
  • 8253, 8257
  • 8257,8251
  • 8251,8257

Frage 21

Frage
Which of the following are the three basic sections of a microprocessor unit?
Antworten
  • 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

Frage 22

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

Frage 23

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

Frage 24

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

Frage 25

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

Frage 26

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

Frage 27

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

Frage 28

Frage
In 8086 the overflow flag is set when______.
Antworten
  • 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

Frage 29

Frage
Direction flag is used with ____.
Antworten
  • String instructions
  • Arithmetic Instructions
  • Stack Instructions
  • Branch Instructions

Frage 30

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

Frage 31

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

Frage 32

Frage
BHE of 8086 microprocessor signal is used to interface the_____
Antworten
  • I/O
  • DMA
  • Even bank memory
  • Odd bank memory
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

BMSC335 Lecture 3 Week 1
Maddie McIntyre
Peptic Ulcer
Miar Abdelhamid
Immunology
El Prs
Insurance Quiz
crabbette
Der menschliche Körper
JohannesK
Medientechnologe Druck_Grundlagen Druckverfahren
Svenja Thyssen
Analytische Geometrie
sonnenblume1997
Vetie Radiologie Übungsfrage
Carolina Heide
PR 2018/19 GESKO VO 7-12
Adrienne Tschaudi
Vetie - Patho - 2014
steff Müller
Vetie Fleisch 2021
Mascha K.