Microprocessor and Assembly Language 8085 8086

Descripción

ThirdYear Third Year Test sobre Microprocessor and Assembly Language 8085 8086, creado por Faheem Ahmed el 20/10/2017.
Faheem Ahmed
Test por Faheem Ahmed, actualizado hace más de 1 año
Faheem Ahmed
Creado por Faheem Ahmed hace más de 6 años
955
0

Resumen del Recurso

Pregunta 1

Pregunta
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
Respuesta
  • carry flag
  • auxiliary carry flag
  • sign flag
  • zero flag

Pregunta 2

Pregunta
How many bytes in a double word ?
Respuesta
  • 1 byte
  • 2 bytes
  • 3 bytes
  • 4 bytes

Pregunta 3

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

Pregunta 4

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

Pregunta 5

Pregunta
The debug command U
Respuesta
  • 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

Pregunta 6

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

Pregunta 7

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

Pregunta 8

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

Pregunta 9

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

Pregunta 10

Pregunta
Pseudocode...
Respuesta
  • 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

Pregunta 11

Pregunta
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
Respuesta
  • 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.

Pregunta 12

Pregunta
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?
Respuesta
  • 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

Pregunta 13

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

Pregunta 14

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

Pregunta 15

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

Pregunta 16

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

Pregunta 17

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

Pregunta 18

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

Pregunta 19

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

Pregunta 20

Pregunta
Interfacing devices for DMA controller, programmable interval timer are respectively
Respuesta
  • 8257, 8253
  • 8253, 8257
  • 8257,8251
  • 8251,8257

Pregunta 21

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

Pregunta 22

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

Pregunta 23

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

Pregunta 24

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

Pregunta 25

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

Pregunta 26

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

Pregunta 27

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

Pregunta 28

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

Pregunta 29

Pregunta
Direction flag is used with ____.
Respuesta
  • String instructions
  • Arithmetic Instructions
  • Stack Instructions
  • Branch Instructions

Pregunta 30

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

Pregunta 31

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

Pregunta 32

Pregunta
BHE of 8086 microprocessor signal is used to interface the_____
Respuesta
  • I/O
  • DMA
  • Even bank memory
  • Odd bank memory
Mostrar resumen completo Ocultar resumen completo

Similar

BMSC335 Lecture 3 Week 1
Maddie McIntyre
Peptic Ulcer
Miar Abdelhamid
Immunology
El Prs
Insurance Quiz
crabbette
Huesos del Cuerpo Humano
Diego Santos
La Dictadura Franquista Selectividad
Diego Santos
Tipos de música en la publicidad
elbaul de7notas
GoConqr como Herramienta para la Educación Especial y la Educación Inclusiva
Diego Santos
FGM-11. DERECHOS Y DEBERES DE LOS MIEMBROS DE LAS FUERZAS ARMADAS
antonio del valle
Línea de tiempo, Orígenes, Desarrollo actuales y fundamentos teóricos y epistemológicos de la psicología política.
vikiya-2103
PIKTOCHART
jennifer reyes