Microprocessor Fundamentals
Last updated on June 3rd, 2022 at 04:19 pm
What is meant by instruction?
An instruction is a command which asks the microprocessor to perform a specific task or job.
How many different instructions microprocessor 8085 has?
8085 microprocessor has a total of 74 different instructions for performing different operations or tasks.
What is an instruction set?
The entire different instructions that a particular microprocessor can handle is called its instruction set.
What an instruction consists of?
An instruction consists of an operation code (called ‘opcode’) and the address of the data (called ‘operand’), on which the opcode operates.
Give one example of each of the different types of instructions.
Instructions can be of (i) direct (ii) immediate (iii) implicit type.
Examples of each type follow:
(i) direct type: LDA 4000
(ii) immediate type: MVIA, 1F
(iii) implicit type: ADD C
What language does the microprocessor understand?
The microprocessor understands the binary language only.
How the mnemonics written in assembly language are translated into binary?
The translation from assembly language (i.e., mnemonics) into binary is done either manually (known as hand (or manual) assembly) or by a program called an assembler.
Thus an assembler can be thought of as a program that translates the mnemonics entered by an ASCII keyboard into its equivalent binary code, which is the only one understood by a microprocessor.