This set of MCQs helps students to learn about special architectural features and related programming, and a microprocessor which is an Integrated Circuit with all the functions of a CPU however, it cannot be used stand alone since unlike a microcontroller it has no memory or peripherals.
The stack pointer register contains,
Address of the stack segment
Pointer address of the stack segment
Offset of address of stack segment
Data present in the stack segment
PUSH operation,
Decrements SP
Increments SP
Decrements SS
Increments SS
POP operation,
Decrements SP
Increments SP
Decrements SS
Increments SS
For 8086 microprocessor, the stack segment may have a memory block of a maximum of,
32K bytes
64K bytes
16K bytes
NONE
8086 does not support:
Arithmetic operations
Logical operations
BCD operations
Direct BCD packed multiplication
The number of PUSH instructions and POP instructions in a subroutine must be,
PUSH instructions must be greater than POP instructions
POP instructions must be greater than PUSH instructions
Both must be equal
Instructions may be any kind
When a stack segment is initialised, then
SS and SP are initialised
Only SS is initialised
Only SP is initialised
SS and SP need not be initialised
The logic required for implementing a program can be expressed in terms of,
Flowchart
Algorithm
Flowchart & algorithm
None of the mentioned
The operands, source and destination in an instruction cannot be :
Register, register
Memory location, memory location
Memory location, register
Immediate data, register
The instruction that is not possible among the following is,
MOV AX, BX
MOV AX, [BX].
MOV 55H, BL
MOV AL, 55H
Both the operands source and destination of an instruction cannot be;
Register, register
Immediate data, register
Register, immediate data
Immediate data, memory location
The registers that cannot be used as operands for arithmetic and logical instructions are,
General purpose registers
Pointers
Index registers
Segment registers
In the instruction, ASSUME CS : CODE, DS : DATA, SS : STACKthe ASSUME directive directs to the assembler, the
Address of the stack segment
Pointer address of the stack segment
Name of the stack segment
Name of the stack, code and data segments