Embedded System and IoT
Embedded System and IoT
Tri state buffer is nothing but three state buffer . Two states are equivalent which is logic 0 or 1 . Third
state is high impedance state . It behaves like open circuit. Third state is nothing but control input ,when
control input is high (1) whatever we are giving input same we are getting as output . When control input is
low(0) .the output goes to high impedance state (either 0 or 1) .
In a multiplexed bus system, many devices are connected to a common bus. If 2 or more devices attempt to
use the bus at the same time, then data will be lost. Thus, only one device must be allowed to use the bus at
a time. One method is to connect the devices through tri-state devices, which when disabled will effectively
disconnect devices from the bus.
Program Counter (PC) and Stack Pointer (SP) are basically used to hold 16-bit memory addresses. PC
stores the 16-bit memory address of the next instruction to be fetched. SP can be used to temporarily store
the 16-bit memory address as well as data. So PC & SP are 16-bit registers.
An embedded system is defined as a device consisting of a processor, memory, and input/output units and
having a specific function within a larger system. Embedded systems have applications in the consumer,
home entertainment, industrial, medical, automotive, commercial, telecommunication, military, and
aerospace verticals.
Immediate Addressing Mode – In immediate addressing mode the source operand is always data. If the data
is 8-bit, then the instruction will be of 2 bytes, if the data is of 16-bit then the instruction will be of 3 bytes
Register Addressing Mode – In register addressing mode, the data to be operated is available inside the
register(s) and register(s) is(are) operands. Therefore the operation is performed within various registers of
the microprocessor.
Direct Addressing Mode – In direct addressing mode, the data to be operated is available inside a memory
location and that memory location is directly specified as an operand. The operand is directly available in
the instruction itself.
Register Indirect Addressing Mode –In register indirect addressing mode, the data to be operated is
available inside a memory location and that memory location is indirectly specified by a register pair.
Implied/Implicit Addressing Mode – In implied/implicit addressing mode the operand is hidden and the
data to be operated is available in the instruction itself.
MOV: - This instruction is used to copy the data from one place to another.
MOV M,Rs (This instruction copies the content of register Rs to memory location pointed by HL
Register)
MOV Rd, M (This instruction copies the content of memory location pointed by the HL
Read Interrupt Mask (RIM) : RIM is a multipurpose instruction used to read the status of interrupts 7.5, 6.5,
5.5 and to read serial input data bit. RIM loads 8-bit data in the accumulator with the following
interpretation:Actually RIM does the following three tasks:
SIM is a multipurpose interrupt used to implement the 8085 interrupts (RST 7.5, 6.5, 5.5) and serial data
output. SIM interprets the accumulator content as follows: Actually, SIM does the following three tasks:
2 Reset RST 7.5 (bit 4). This is mainly used to overwrite RST 7.5 without serving it.
3To implement serial I/O (bit 7, 6). If bit 6 = 1 is used to enable serial I/O and bit 7 is used to transmit
serial output data bit.
it is an output status signal.it tells that when data is present and when address is present on the multiplexed
address/data lines.
Prepared by:
Dr Sulekha Saxena
Asst Professor
ECE Department