web analytics

Microprocessor and Computer Architecture

How can you control LEDs using microprocessor via 82C55A PPI? Draw the interface diagram & write the necessary assembly codes.

Controlling LEDs Using Microprocessor VIA 82C55A: Using the 82C55A, we can control LED lights. We can use the pins of one port to connect with one leg of the LEDs and pins of another port to connect rest of the legs. Then we can program the 82C55A to control the LEDs. It can be done …

How can you control LEDs using microprocessor via 82C55A PPI? Draw the interface diagram & write the necessary assembly codes. Read More »

What are the purpose of using command byte A and command byte B on 82C55A? Explain with suitable example.

Purpose of Using Command Byte A: Command byte A is used select modes, working functions of the ports. So the importance of using command byte A is that we can define on which mode it will be working on and which port will be used for which function such as input or output. For example, …

What are the purpose of using command byte A and command byte B on 82C55A? Explain with suitable example. Read More »

Draw the pin-out diagram of 82C55A PPI. How many modes you can select on 82C55A PPI? Explain.

Pin-Out Diagram of 82C55A: I/O Ports: It has three I/O ports, A, B and C. Each of these has 8 pins.             CS : This is used to select the 82C55A for programming and reading or writing.             A0 & A1: Register selection is done using the A0 and A1, which select …

Draw the pin-out diagram of 82C55A PPI. How many modes you can select on 82C55A PPI? Explain. Read More »

What is handshaking? Write a suitable example for handshaking with necessary assembly codes.

Handshaking:  Handshaking is a I/O control method to synchronize I/O devices with the microprocessor. As many I/O devices accepts or release information at a much slower rate than the microprocessor, this method is used to control the microprocessor to work with a I/O device at the I/O devices data transfer rate. Example:  Supposing that we …

What is handshaking? Write a suitable example for handshaking with necessary assembly codes. Read More »

Write the differences between Isolated I/O and Memory Mapped I/O.

Memory Mapped I/O and Isolated I/O are two methods of performing input-output operations between CPU and installed peripherals in the system. Memory mapped I/O uses the same address bus to connect both primary memory and memory of hardware devices. Thus the instruction to address a section or portion or segment of RAM can also be used to address …

Write the differences between Isolated I/O and Memory Mapped I/O. Read More »

Define port? Differentiate fixed port addressing and variable port addressing.

          Port : A port is an adapter which enables a system to communicate with its input/output devices. Using port user can connect I/O devices and use them. There various types of port such as parallel port, serial port etc.             Differences Between Fixed Port and Variable Port Addressing : Fixed Port …

Define port? Differentiate fixed port addressing and variable port addressing. Read More »

Write about hamming technique of error detection and correction in the case of a 4-bit data.

Hamming Technique (7,4) : In this case, we will have 4 bits of data and we will add 3 bits of redundant with the data by calculating the 4-bit data. For example, taking a 4-bit data as, The encoder will encode the data as follows , Thus the decoder will receive, 0 1 1 0 …

Write about hamming technique of error detection and correction in the case of a 4-bit data. Read More »

RSS
Follow by Email
Scroll to Top