Anda di halaman 1dari 3

MICROPROCESSOR ANSWERS

1. DEFINE MICROPROCESSOR
A microprocessor is a single IC chip that is capable of performing arithmetic & logical
functions as defined by a given program. It is called microprocessor because of its high operating
speed (in microseconds).

2. WHAT ARE ALL THE ESSENTIAL PART OF MICROCOMPUTER


There are 4 components
• Microprocessor
• Memory
• Input device
• Output device

3. GIVE THE TYPES OF FLAG REGISTER IN 8085 MICROPROCESSOR


There are 5 types
• Sign flag
• Zero flag
• Parity flag
• Carry flag
• Auxiliary Carry flag

4. WHAT ARE ALL THE INTERRUPTS IN 8085 MICROPROCESSOR?


There are 5 types
 TRAP
 RST 7.5
 RST 6.5
 RST 5.5
 INTR

5. WHAT IS THE FUNCTION OF ALU


• ALU means Arithmetic & Logic Unit
• It performs arithmetic & logic functions on 8 bit words. The content of accumulator
and temporary registers are the input to ALU.
• It can perform arithmetic operation such as addition, subtraction & logical operation
such as AND, OR, EX-OR etc.

6. WHAT IS THE FUNCTION OF DATA BUS or WHY THE DATA BUS IS BIDIRECTIONAL
• Data bus is a group of 8 lines
• These lines transfer the data between microprocessor & peripheral devices.
• Since the data floe in both directions , these lines are called as bidirectional data bus
7. WHAT IS THE FUNCTION OF ADDRESS BUS or WHY THE ADDRESS BUS IS
UNIDIRECTIONAL

• Address bus is a group of 16 lines


• The address bus is unidirectional, because the bit flows in one direction from
microprocessor to peripheral devices.
• It has 2 types.
 Low order address bus (AD7-AD0)
 High order address bus (A15- A8)

8. WHAT IS THE FUNCTION OF CONTROL BUS


• This bus in not a group of lines like address bus & data bus
• The various control signal lines used by the microprocessor for timing &
synchronization are called control bus.
• These are used to match the speed between microprocessor & peripheral devices.
• It is used to identify the device type with which the microprocessor intends to
communicate

9. WHAT IS PROGRAM
A program is set of sequence of instructions written to perform a particular task.
It has 3 types
• Assembly language program
• Machine language program
• High level language program

10. WHAT IS ASSEMBLY LANGUAUGE PROGRAM


• A program written using mnemonics & symbolic address is called ALP (assembly language
program)
• A mnemonic refer to abbreviated 3 letter memory aided code. (ex. MOV,ADD,SUB…)
• ALP refers to low level language.

11. WHAT IS MACHINE LANGUAGE PROGRAM


• A program written using binary ( 0’s & 1’s) is called machine language program
• In early days of computer, programmer coded programs in machine language, which is in
hexadecimal system was used. But it is very difficult to understand for humans. Then only
assembly language was developed.
• But when CPU works only in binary, then only the execution speed is high.

12. WHAT IS ASSMBLER


ALP must be translated into machine code by a software is called assembler

13. WHAT IS COMPILER


High level language (BASIC, Pascal, C, C++, Java) must be translated into machine code by a
software is called compiler

Anda mungkin juga menyukai