VILLAMOR OT2
register specific instructions
The addressing mode, in which the instructions has no source and destination operands is
B. Base Addressing
10. MOV AX, [BX+4] is a sample of which type of addressing?
D. Register Indirect Addressing
11. MOV DL, [SI] is a sample of which type of addressing?
B. Base Addressing
12. Base registers, BX or BP, is used as a pointer to the desired memory location in this type of addressing.
D. PUSHA
13. This instruction pushes all registers to the stack.
D. Copy the source of the string to the destination string
14. MOVS is used to ___________
B. 32-bit general purpose register
15. BSWAP swaps bytes in a ______
A. Assembler
2. An _________ is a special program that will understand the contents of the object file
D. Single-line-assemblers
3. This type of assemblers work with one source line at a time and are restricted in operation.
C. Segments
4. ______ contains many new pseudocodes to help the assembler generate the correct machine code for the object file.
D. Memory to register, register to register, register to memory
5. Data transfer group contains instructions that transfer from ____________.
A. String, 64KB
6. A _____ is a collection of bytes stored sequentially in memory, whose length can be up to _______.
B. AND, OR, XOR, NOT
7. Bit manipulation is used for __________.
A. Effective Address
8. Address is referred to ________ when the processor's address bus is formed by some combination of segment register and an additional numerical offset.
D. Immediate Addressing
9. MOV CX, 7 is a sample of which type of addressing?
internal data RAM and SFRS
A storage of address that can be directly accessed is
destination address of call or jump
A symbol, 'addr 16' represents the 16-bit address which is used by the instructions to specify the
Based addressing mode
A type of addressing mode, the offset address of the operand is given by the sum of contents of the BX/BP registers and 8-bit/16-bit displacement.
The value stored in memory location 45 is retrieved and one more operand is requested
Add #45, when this instruction is executed the following happen/s,
MOV AX, [1592H]
An example of direct addressing mode
MOV AL, FFH
An example of immediate addressing mode
ADD AL, [DI+16]
An example of indexed addressing mode
MOV CX, AX
An example of register addressing mode
MOV DX, [BX+04]
Based addressing mode example
By addition of index register contents to the partial address in instruction
How is the effective address of base-register calculated?
Push down stack
In case of, Zero-address instruction method the operands are stored in _____ .
EA = 5+[R1]
In the following indexed addressing mode instruction, MOV 5(R1),LOC the effective address is ______ .
Indexed addressing mode
In this addressing mode, the operands offset address is found by adding the contents of SI or DI register and 8-bit/16-bit displacements
immediate mode
In which of these addressing modes, a constant is specified in the instruction, after the opcode byte?
Immediate Mode
It is an addressing mode in which the data operand is a part of the instruction itself.
data pointer
The address register for storing the 16-bit addresses can only be
all of the mentioned
The address register for storing the 8-bit addresses can be
Direct Mode
The addressing mode in which the effective address of the memory location is written directly in the instruction
Indirect addressing mode
The addressing mode which makes use of in-direction pointers is ______ .
Immediate
The addressing mode, where you directly specify the operand value is _______
Relative
The addressing mode/s, which uses the PC instead of a general purpose register is ______ .
accumulator with that of program counter or data pointer
The data address of look-up table is found by adding the contents of
5+[R1]+[R2]
The effective address of the following instruction is , MUL 5(R1,R2)
100(decimal) is added to contents of accumulator
The instruction, ADD A, #100 performs
register instructions
The instruction, ADD A, R7 is an example of
Adds 45 to the value of R1 and stores it in R1
The instruction, Add #45,R1 does,
rotation of accumulator to left
The instruction, RLA performs
program memory
The only memory which can be accessed using indexed addressing mode is
Object file
The source file is converted into an __________ wherein it contains all the actual binary information.
Register Indirect Addressing Mode
This addressing mode allows data to be addressed at any memory location through an offset address held in any of the following registers: BP, BX, DI & SI
MOV AX, [BX]
This is an example of register Indirect Addressing Mode
2,3
When we use auto increment or auto decrement, which of the following is/are true 1) In both, the address is used to retrieve the operand and then the address gets altered. 2) In auto increment the operand is retrieved first and then the address altered. 3) Both of them can be used on general purpose registers as well as memory locations.
Register Mode
Which addressing mode execute its instructions within CPU without the necessity of reference memory for operands?
none
Which of the following is not an addressing mode of 8051?
Relative
_____ addressing mode is most suitable to change the normal sequence of execution of instructions .