Microprocessor and Assembly Language 8085 8086

Descrição

ThirdYear Third Year Quiz sobre Microprocessor and Assembly Language 8085 8086, criado por Faheem Ahmed em 20-10-2017.
Faheem Ahmed
Quiz por Faheem Ahmed, atualizado more than 1 year ago
Faheem Ahmed
Criado por Faheem Ahmed mais de 6 anos atrás
955
0

Resumo de Recurso

Questão 1

Questão
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
Responda
  • carry flag
  • auxiliary carry flag
  • sign flag
  • zero flag

Questão 2

Questão
How many bytes in a double word ?
Responda
  • 1 byte
  • 2 bytes
  • 3 bytes
  • 4 bytes

Questão 3

Questão
What is the value of AX register after executing, MOV AX,456h, CMP AX,456h
Responda
  • 456h
  • Zero
  • UnKnown
  • 400h

Questão 4

Questão
The instruction AND AH,11110111 is equivalent to
Responda
  • 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

Questão 5

Questão
The debug command U
Responda
  • 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

Questão 6

Questão
The debug command: -E F000:0 1 2 3
Responda
  • 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

Questão 7

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

Questão 8

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

Questão 9

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

Questão 10

Questão
Pseudocode...
Responda
  • 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

Questão 11

Questão
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
Responda
  • 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.

Questão 12

Questão
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?
Responda
  • 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

Questão 13

Questão
The 2' s complement representation of the decimal value (minus) - 15 is
Responda
  • 1111
  • 11111
  • 111111
  • 10001

Questão 14

Questão
The instruction, MOV AX, 1234H is an example of
Responda
  • Register addressing mode
  • Direct addressing mode
  • Immediate addressing mode
  • Based indexed addressing mode

Questão 15

Questão
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.
Responda
  • 1-> a, 2 -> b
  • 1->b, 2 -> c
  • 1-> c, 2 -> d
  • 1-> d, 2->a

Questão 16

Questão
In 8085, which of the following modifies the program counter ?
Responda
  • Only PCHL instruction
  • Only ADD instructions
  • Only JMP and CALL instructions
  • All instructions

Questão 17

Questão
The instruction that is used as prefix to an instruction to execute it repeatedly until the CX register becomes zero is
Responda
  • SCAS
  • REP
  • CMPS
  • STOS

Questão 18

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

Questão 19

Questão
The status flag that cannot be operated by direct instruction is
Responda
  • Cy
  • Z
  • P
  • AC
  • S

Questão 20

Questão
Interfacing devices for DMA controller, programmable interval timer are respectively
Responda
  • 8257, 8253
  • 8253, 8257
  • 8257,8251
  • 8251,8257

Questão 21

Questão
Which of the following are the three basic sections of a microprocessor unit?
Responda
  • 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

Questão 22

Questão
The instruction, MOV AX, [BX] is an example of
Responda
  • direct addressing mode
  • register addressing mode
  • register relative addressing mode
  • register indirect addressing mode

Questão 23

Questão
Which of the following instruction is NOT valid?
Responda
  • MOV AX, BX
  • MOV DS, 5000H
  • MOV AX, 5000H
  • PUSH AX

Questão 24

Questão
The instruction that is used for finding out the codes in case of code conversion problems is
Responda
  • XCHG
  • XLAT
  • XOR
  • JCXZ

Questão 25

Questão
The instruction that performs logical AND operation and the result of the operation is not available is
Responda
  • AAA
  • AND
  • TEST
  • XOR

Questão 26

Questão
The instruction that is NOT valid is
Responda
  • MOV AX, [BX]
  • MOV AX, 5555H
  • MOV AX, [SI]
  • MOV [SI], [DI]

Questão 27

Questão
In 8086 microprocessor, the stack segment may have a memory block of a maximum of
Responda
  • 32K bytes
  • 64K bytes
  • 16K bytes
  • 8K bytes
  • Unlimited bytes.

Questão 28

Questão
In 8086 the overflow flag is set when______.
Responda
  • 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

Questão 29

Questão
Direction flag is used with ____.
Responda
  • String instructions
  • Arithmetic Instructions
  • Stack Instructions
  • Branch Instructions

Questão 30

Questão
If_________ flag is set; the processor enters the single step execution mode.
Responda
  • Direction
  • Trap
  • Interrupt
  • Zero

Questão 31

Questão
If segment address = 1005 H, offset address = 5555 H, then the physical address is_____.
Responda
  • 6555A H
  • 155A5 H
  • 45500 H
  • 56555 H

Questão 32

Questão
BHE of 8086 microprocessor signal is used to interface the_____
Responda
  • I/O
  • DMA
  • Even bank memory
  • Odd bank memory

Semelhante

BMSC335 Lecture 3 Week 1
Maddie McIntyre
Peptic Ulcer
Miar Abdelhamid
Immunology
El Prs
Insurance Quiz
crabbette
Orgão Coração Humano
Alessandra S.
Biosfera
joana_pinto_202
Funções Químicas
J. J. Phillip
Atualidades Vestibular Enem 2
GoConqr suporte .
Questões Estatuto dos Militares lei n°. 6.880
Alan Amanthea
Organização Básica da Marinha
Alan Amanthea