MICROPROCESSOR AND MICROCONTROLLER

INTRODUCTION TO MICROPEOCESSOR

MICROPROCESSOR BASICS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which addressing mode will lead to “shortest” instructions?
A
direct
B
indirect
C
PC relative
D
Base relative
E
implied
Explanation: 

Detailed explanation-1: -Implied addressing refers to instructions that comprise only an opcode without an operand; for example, the INCA (“increment accumulator”) instruction. In this case, any data required by the instruction and the destination of any result from the instruction are implied by the instruc-tion itself (Figure B-1).

Detailed explanation-2: -In 8085 Instruction set, there is one mnemonic XCHG, which stands for eXCHanGe. This is an instruction to exchange contents of HL register pair with DE register pair. This instruction uses implied addressing mode.

Detailed explanation-3: -An addressing mode specifies how to calculate the effective memory address of an operand by using information held in registers and/or constants contained within a machine instruction or elsewhere.

Detailed explanation-4: -Immediate addressing mode is comparatively faster than the direct mode.

There is 1 question to complete.