Interview Questions On Embedded Processors
Interview Questions On Embedded Processors
Processors [Part-I]
This post is all about discussion of interview questions on embedded processors [Part-I]. Here
well discuss topics on microprocessor & microcontroller technology. Ive divided article into
two parts. This post covers most of questions based on basics of microprocessor and
microcontroller. I believe this post will be helpful to prepare for an interview of entry level
position.
What is Microprocessor?
Clock Speed: Given in MHz Megahertz, the clock speed determines how many
instructions per second the processor can execute.
In addition to this, microprocessors are classified as being RISC (Reduced Instruction Set
Computer) or CISC (Complex Instruction Set Computer).
The basic units or block of microprocessor are ALU, an Array of Registers and control unit.
64-bit Processors- Intel 64(x64), AMD64, IBM (Power PC), SUN (SPARC).
The processors made of PMOS, NMOS, HMOS, HCMOS technology are called 1st/ 2nd/3rd/4th
generation processors and are made up of 4, 8, 16, 32-bits.
The software is set of instruction or commands needed for performing a specific task by
programmable device or a computing machine. The hardware refers to the component or
device used to form computing machine in which software can be run and tested. Without
software hardware is idle machine.
The microprocessor is a digital integrated circuit that can be programmed with a series of
instructions to perform a specified function on data. The microcontroller is tiny little
computer on single integrated circuit, which has memory, input-output on chip itself. So we
can say microprocessor can perform few functions but microcontroller can perform many
functions.
Microprocessor has limitation on size of data. Most microprocessor does not support floating
point operation.
In microprocessor more op-codes, few bit handling instructions but in microcontroller: fewer
op-codes and more bit handling instructions also microcontroller defined as a device that
includes microprocessor, memory and input-output signal lines in a single chip.
What is an Instruction?
The speed of computer processor is determined by clock cycle, which is amount of time
between two pulses of an oscillator. In general, the higher number of pulses per second the
faster the computer processor will be able to process information.
The sequence of operation that the processor has to carry out while executing a instruction is
called instruction cycle. Each instruction cycle of processor consist of a number of machine
cycles. The sequence of stages is:
1. Read an instruction.
2. Decode the instruction.
4. Retrieve an operand.
The steps performed by computer processor for each machine language instruction received.
The machine cycle is 4 process cycle.
A Microprocessor controls all the functions of CPU Central Processing Unit of a computer or
digital device. The microprocessor is programmed to give and receive instructions from other
components of the device. The system can control everything from small devices such as
calculators and mobile phones to large automobile.
What is Register?
In computer architecture, a processor register (or general purpose register) is a small amount
of storage available on the CPU whose contents can be accessed more quickly than storage
available elsewhere. Typically, this specialized storage is not considered part of normal
memory range for the machine. Processor registers are at the top of the memory hierarchy,
and provide the fastest way for a CPU to access data.
In handshake output operation the processor will load a data to port. When the port receives
the data, it will inform the output device to collect the data. Once the output device accepts
the data, the port will inform the processor that it is empty. Now the processor can load
another data to port and above process is repeated.
Cache memory is small high speed memory. It is used for temporary storage of data &
information between main memory and CPU (central processing unit).
Define HCMOS?
High density n-type Complementary Metal Oxide silicon field effect Transistor.
What is Flag?
Flag is flip-flop used to store the information about the status of a processor and status of
instruction executed most recently.
What is NV-RAM?
Non Volatile Read Write memory, also called flash memory. It is also known as shadow
RAM.
This is used by string manipulation instructions. If this flag bit is 0, the string is processed
beginning from the lowest to highest address i.e. Auto increment mode. Otherwise string is
processed from the highest towards the lowest address i.e. auto decrementing mode.
Here is the end of this post. Probably in the next post will see more challenging interview
questions on embedded processors. I hope youll find this post educational. Thanks!!!!