0% found this document useful (0 votes)
14 views9 pages

Understanding Microprocessor Functions

fghj

Uploaded by

naj29966
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views9 pages

Understanding Microprocessor Functions

fghj

Uploaded by

naj29966
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd

#Microprocessor A microprocessor is a controlling unit of a micro-computer wrapped inside a small chip.

It performs
Arithmetic Logical Unit (ALU) operations and communicates with the other devices connected with it. It is a single
Integrated Circuit in which several functions are combined.

#Microcomputer Microcomputer, an electronic device with a microprocessor as its central processing unit (CPU). ...
Microcomputer was formerly a commonly used term for personal computers, particularly any of a class of small digital
computers whose CPU is contained on a single integrated semiconductor chip.

#Microcontroller A microcontroller is a small and low-cost microcomputer, which is designed to perform the specific tasks
of embedded systems like displaying microwave’s information, receiving remote signals, etc. The general microcontroller
consists of the processor, the memory (RAM, ROM, EPROM), Serial ports, peripherals (timers, counters), etc.
#BasicOperationOfMicroprocessor / #MachineCycle
The machine cycle is the most basic operation that a computer performs, and in order to complete menial tasks such as showing
a single character on the screen, the CPU has to perform multiple cycles. The computer does this from the moment it boots up
until it shuts down.
The steps of a machine cycle are:
• Fetch – The control unit requests instructions from the main memory that is stored at a memory’s location as indicated by the
program counter (also known as the instruction counter).
• Decode – Received instructions are decoded in the instruction register. This involves breaking the operand field into its
components based on the instruction’s operation code (opcode).
• Execute – This involves the instruction’s opcode as it specifies the CPU operation required. The program counter indicates the
instruction sequence for computer. These instructions are arranged into the instructions register and as each are executed, it
increments the program counter so that the next instruction is stored in memory. Appropriate circuitry is then activated to
perform the requested task. As soon as instructions have been executed, it restarts the machine cycle that begins the fetch step.
#MicroprocessorClassification
A microprocessor can be classified into three categories.
#RISC Processor
RISC stands for Reduced Instruction Set Computer. It is designed to reduce the execution time by simplifying the instruction set of
the computer. Using RISC processors, each instruction requires only one clock cycle to execute results in uniform execution time.
This reduces the efficiency as there are more lines of code, hence more RAM is needed to store the instructions. The compiler
also has to work more to convert high-level language instructions into machine code
#CISC Processor
CISC stands for Complex Instruction Set Computer. It is designed to minimize the number of instructions per program, ignoring
the number of cycles per instruction. The emphasis is on building complex instructions directly into the hardware.
The compiler has to do very little work to translate a high-level language into assembly level language/machine code because the
length of the code is relatively short, so very little RAM is required to store the instructions.

Special Processors
These are the processors which are designed for some special purposes. Few of the special processors are briefly discussed −

#Coprocessor
A coprocessor is a specially designed microprocessor, which can handle its particular function many times faster than the
ordinary microprocessor.

For example − Math Coprocessor.


Input/Output Processor
It is a specially designed microprocessor having a local memory of its own, which is used to contro

#Transputer (Transistor Computer)


A transputer is a specially designed microprocessor with its own local memory and having links to connect one transputer to
another transputer for inter-processor communications. It was first designed in 1980 by Inmos and is targeted to the utilization of
VLSI technology.

A transputer can be used as a single processor system or can be connected to external links, which reduces the construction cost
and increases the performance.

#DSP (Digital Signal Processor)


This processor is specially designed to process the analog signals into a digital form. This is done by sampling the voltage level at
regular time intervals and converting the voltage at that instant into a digital form. This process is performed by a circuit called an
analogue to digital converter, A to D converter or ADC.

A DSP contains the following components −

Program Memory − It stores the programs that DSP will use to process data.

Data Memory − It stores the information to be processed.

Compute Engine − It performs the mathematical processing, accessing the program from the program memory and the data from
the data memory.
Input/Output − It connects to the outside world.

Common questions

Powered by AI

An organization might choose to implement a CISC processor over a RISC processor due to its inherent ability to execute complex instructions directly in hardware, thereby reducing the number of instructions a program requires. This feature minimizes code size and memory usage, making CISC advantageous for applications where memory resources are constrained or where backward compatibility with complex instruction sets is essential . Additionally, CISC can simplify software development and maintenance for applications requiring legacy support or complex computational tasks, reducing dependency on advanced compiler technologies . Despite RISC's advantages in execution speed and efficiency, CISC's efficient memory usage and compatibility with existing software ecosystems often make it the more practical choice for specific modern computational applications.

RISC processors require more RAM because each instruction is designed to execute in a single clock cycle, which simplifies the instruction set and results in a larger number of instructions needed to perform complex tasks . This simplicity requires more lines of code, thus increasing the memory footprint. Consequently, the compiler must convert more high-level language instructions into machine code. While this increases processor speed due to uniform execution time per instruction, it impacts memory usage and potentially increases the overall complexity of program design. In contrast, CISC processors embed complex instructions directly in the hardware, allowing fewer instructions per task and requiring less RAM . This results in shorter code but can mean slower performance due to multiple cycles per instruction. Therefore, choosing between RISC and CISC involves balancing memory needs and processing efficiency.

Simplifying instruction sets in RISC processors has significant implications for compiler design and efficiency. RISC's streamlined instructions reduce the instruction execution time to a single clock cycle, necessitating more instructions to accomplish complex tasks . This increases the workload on the compiler, which must translate more high-level code into machine code. It requires sophisticated compiler optimizations to manage this complexity efficiently, aligning instructions to minimize instruction fetch and execution bottlenecks . Despite this added complexity, the RISC architecture facilitates efficient pipeline processing, as the consistent instruction length and complexity allow compilers to optimize instruction scheduling and parallel execution more effectively, enhancing overall system performance.

The transputer architecture impacts system construction costs and performance positively by integrating local memory within the processor and providing direct connections for inter-processor communication. This eliminates the need for additional components by allowing transputers to function either as independent computing units or in a networked configuration, thereby reducing hardware requirements and costs . The architecture is highly suitable for VLSI (Very Large Scale Integration) technology due to its compact design, allowing for high-density integration of processors on a chip. This design maximizes processing power while minimizing space and cost, enhancing computational performance significantly . The integrated communication links also bolster performance by enabling efficient parallel processing, crucial for VLSI technology applications.

Digital Signal Processors (DSPs) convert analog signals to digital form using a process known as sampling, wherein the analog signal's voltage level is measured at evenly spaced time intervals and these samples are converted into digital values using an Analog to Digital Converter (ADC). The key components involved in this conversion process include program memory, which stores the algorithms and programs to process the data; data memory, which holds the sampled data; a compute engine to execute the mathematical processing of the samples; and input/output interfaces to connect DSPs with external environments . This conversion process allows DSPs to efficiently process signals for various applications such as audio, video, and telecommunication technologies.

The machine cycle is the sequence of steps a computer's CPU follows to perform basic operations, including the stages of fetching, decoding, and executing instructions. During the fetch stage, the CPU's control unit retrieves instructions from the main memory, as specified by the program counter. In the decode stage, instructions are broken down into components within the instruction register. Finally, during the execute stage, relevant CPU operations are performed, dictated by the instruction's opcode, and the program counter is incremented to point to the next instruction in sequence . Thus, the program counter is crucial for maintaining the proper order of instruction execution, driving the continuity of the machine cycle.

A microprocessor in a microcomputer primarily acts as the central processing unit (CPU), executing the operations needed to perform tasks by using its Arithmetic Logical Unit (ALU) and managing communication with other connected devices. It is a general-purpose device used for computation, and its functions are combined into a single integrated circuit . In contrast, a microcontroller is tailored for specific tasks within embedded systems, comprising not only the processor but also memory and peripherals like timers and counters, all optimized for control applications . This makes microcontrollers more specialized and cost-effective for dedicated tasks as compared to the more versatile and powerful microprocessors found in microcomputers.

Microcontrollers optimize the operation of embedded systems by integrating various components including processors, memory, and peripherals onto a single chip, specifically designed to perform dedicated control functions. This integration ensures cost-effectiveness, reduces physical space requirements, and enhances reliability for embedded applications . Microcontrollers are particularly beneficial in managing specific, repetitive tasks, like controlling household appliances or handling communication in automotive electronics. Their focused functionality and energy efficiency allow designers of consumer electronics to develop compact, efficient, and low-power devices, expanding the versatility and intelligence of everyday electronic products through automated and intelligent control features.

Local memory in special processors like transputers and input/output processors provides several advantages, primarily enhancing performance and efficiency. For transputers, local memory facilitates direct access to data necessary for tasks, allowing the processor to operate independently and efficiently communicate with interconnected transputers. This architecture optimizes parallel processing by reducing dependency on external memory access . In I/O processors, local memory is utilized to manage input and output operations independently from the main microprocessor, thereby minimizing system bottlenecks and improving data flow. By offloading these operations, both types of processors reduce the load on the central processor and contribute to overall system performance enhancement.

The use of special processors, such as coprocessors, offers notable advantages in terms of efficiency and performance for particular tasks. Coprocessors are designed to execute specific functions, like mathematical computations, significantly faster than general-purpose microprocessors . This specialization reduces the computational load on the main CPU, thereby freeing it to handle other tasks and improving overall system throughput. However, this specificity also presents disadvantages. Special processors tend to increase system complexity and cost due to the need for additional hardware, and they are limited to executing only their designated functions, offering less flexibility compared to general-purpose microprocessors that can perform a wide variety of tasks . Thus, while special processors enhance performance for dedicated functions, their use must be justified by the specific needs of an application.

You might also like