Professional Documents
Culture Documents
Assignment ITM
Assignment ITM
TECHNOLOGY
INTRODUCTION TO MICROPROCESSORS
ASSIGNMENT
SUBMITTED BY: AYUSH
SUBMITTED TO: SHYAM BAMBIWAL
ROLL NO: 1802071013
BRANCH: DIGITAL ELECTRONICS
SEMESTER/YEAR: IVth SEM/IInd YEAR
INTRODUCTION TO MICROPROCESSOR
ASSIGNMENT
1. Compare memory mapped IO and IO mapped IO.
2.Control Logic: The control logic block accepts control bus signals as
well as inputs from the address bus, and issues commands to the
individual group control blocks (Group A control and Group B control).
It issues appropriate enabling signals to access the required
data/control words or status word. The input pins for the control logic
section are described here.
4,Port A: This has an 8-bit latched and buffered output and an 8-bit
input latch. It can be programmed in three modes: mode 0, mode 1 and
mode 2.
5.Port B: This has an 8-bit data I/O latch/ buffer and an 8-bit data input
buffer. It can be programmed in mode 0 and mode 1.
6.Port C: This has one 8-bit unlatched input buffer and an 8-bit output
latch/buffer. Port C can be spitted into two parts and each can be used
as control signals for ports A and B in the handshake mode. It can be
programmed for bit set/reset operation.
Address Decoding
Figure: Full address decoding of
two memory devices.
In partial address decoding, not all address lines in the address bus are
used in the decoding process. Figure shows two memory devices
configured using partial decoding, where A23 is used to distinguish
between the two. In this example, M1 and M2 are repeated 2,048
times through the memory space. When A23=0, M1 is selected;
when A23=1, M2 is selected.
5. Explain the working of RIM and SIM instruction in detail.
SIM 30
Note that except bit 5, which is a don't care bit, the other bits of the
Accumulator decide the effect of executing the SIM instruction.
Masking of interrupts: Only the LS 4 bits of the accumulator are used
for masking or unmasking of interrupts.
In 8085 Instruction set, RIM stands for “Read Interrupt Mask”. It is a 1-
Byte multi-purpose instruction. It is used for the following purposes.
To check whether RST7.5, RST6.5, and RST5.5 are masked or not;
To check whether interrupts are enabled or not;
To check whether RST7.5, RST6.5, or RST5.5 interrupts are
pending or not;
To perform serial input of data.
RIM 20