Professional Documents
Culture Documents
collection of machine-level instructions that a instruction word. VLIW architectures shift the
microprocessor or microcontroller can execute It burden of instruction scheduling from the
defines the set of operations that the processor hardware to the compiler. It allows for potential
can perform, the format of the instructions, and performance gains but requires sophisticated
how the instructions are encoded and executed by compiler support.
the hardware.
DIFFERENCES BETWEEN MPU AND MCU ISA
Three main ways instruction set command
used: MCU ISA:
1. Data handling and memory • Designed for embedded systems.
management. Instruction set commands • Simple and specialized instructions.
are used when setting a register to a • Emphasizes code size efficiency, low
specific value, copying data from memory power consumption, and real-time control.
to a register or vice versa, and reading and MPU ISA:
writing data. • More general-purpose processors.
• Complex and versatile instructions.
• Emphasizes computational power,
2. Arithmetic and logic operations and flexibility, and support for high-level
activities. These commands include add, programming languages.
subtract, multiply, divide and compare,
which examines values in two registers to
see if one is greater or less than the other.
3. Ports A and B registers - are used to transfer Read-write, read only, write-only:
data between Input-Output device and Interface
Different devices perform different operations,
Unit. Each port consists of bi-directional data input
some support both input and output, but others
buffer and bi-directional data output buffer. Lesson
support only one data transfer direction either input
8: Input Output (I/O) Interfacing
or output.
4. Control and Status register - CPU gives
control information to control register on basis of
control information. Bits which are present in the Ways of Communication in Microprocessors
status register are used for checking of status and Microcontrollers
conditions. Status register indicates status of data
register, port A, port B and also record errors that • Serial Communication Interface − In this
may occur during transfer of data. type of communication, the interface gets a
single byte of data from the microprocessor
and sends it bit by bit to the other system
serially and vice-a-versa.
• Parallel Communication Interface − In this
type of communication, the interface gets a
byte of data from the microprocessor and
sends it bit by bit to the other systems in
simultaneous (or) parallel fashion and vice-a-
versa.