Este Quiz é cronometrado.
Você tem 45 minutos para completar as 32 questões deste quiz..
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
carry flag
auxiliary carry flag
sign flag
zero flag
How many bytes in a double word ?
1 byte
2 bytes
3 bytes
4 bytes
What is the value of AX register after executing, MOV AX,456h, CMP AX,456h
456h
Zero
UnKnown
400h
The instruction AND AH,11110111 is equivalent to
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
The debug command U
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
The debug command: -E F000:0 1 2 3
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
Consider the program segment: Age DB 100 MOV Age,123 What is the memory-addressing mode of the first operand in the MOV instruction?
Immediate addressing mode
Direct addressing mode
Indirect addressing mode
Implied addressing
The multiple Segment:Offset representations for a unique physical address is:
Advantage for 8086 processor to provide flexibility
Disadvantage for 8086 processor, it make it harder to program
Has no effect.
Algorithms are designed using combinations of three main building blocks (control structures), called...
loops, if/then/else statements and functions
quark, strangeness and charm
syntax, choice and loops
sequence, selection and repetition
Pseudocode...
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
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
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.
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?
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
The 2' s complement representation of the decimal value (minus) - 15 is
1111
11111
111111
10001
The instruction, MOV AX, 1234H is an example of
Register addressing mode
Based indexed addressing mode
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.
1-> a, 2 -> b
1->b, 2 -> c
1-> c, 2 -> d
1-> d, 2->a
In 8085, which of the following modifies the program counter ?
Only PCHL instruction
Only ADD instructions
Only JMP and CALL instructions
All instructions
The instruction that is used as prefix to an instruction to execute it repeatedly until the CX register becomes zero is
SCAS
REP
CMPS
STOS
In 8086 microprocessor one of the following statements is NOT true.
Coprocessor is interfaced in MAX mode
Coprocessor is interfaced in MIN mode
I/O can be interfaced in MAX / MIN mode
Supports pipelining
The status flag that cannot be operated by direct instruction is
Cy
Z
P
AC
S
Interfacing devices for DMA controller, programmable interval timer are respectively
8257, 8253
8253, 8257
8257,8251
8251,8257
Which of the following are the three basic sections of a microprocessor unit?
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
The instruction, MOV AX, [BX] is an example of
direct addressing mode
register addressing mode
register relative addressing mode
register indirect addressing mode
Which of the following instruction is NOT valid?
MOV AX, BX
MOV DS, 5000H
MOV AX, 5000H
PUSH AX
The instruction that is used for finding out the codes in case of code conversion problems is
XCHG
XLAT
XOR
JCXZ
The instruction that performs logical AND operation and the result of the operation is not available is
AAA
AND
TEST
The instruction that is NOT valid is
MOV AX, [BX]
MOV AX, 5555H
MOV AX, [SI]
MOV [SI], [DI]
In 8086 microprocessor, the stack segment may have a memory block of a maximum of
32K bytes
64K bytes
16K bytes
8K bytes
Unlimited bytes.
In 8086 the overflow flag is set when______.
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
Direction flag is used with ____.
String instructions
Arithmetic Instructions
Stack Instructions
Branch Instructions
If_________ flag is set; the processor enters the single step execution mode.
Direction
Trap
Interrupt
If segment address = 1005 H, offset address = 5555 H, then the physical address is_____.
6555A H
155A5 H
45500 H
56555 H
BHE of 8086 microprocessor signal is used to interface the_____
I/O
DMA
Even bank memory
Odd bank memory