Interrupt system based on 8259 a-microprocessor, Assembly Language

Interrupt System Based on Single 8259 A

The 8259A is contained in a 28-pin dual-in-line package that need only a + 5-V supply voltage.  Its organization is shown in given figure along with its associates to a maximum mode system. Its pins (other than the ground pins and supply voltage) are defined as follows:

D7-DO - For communicating with the CPU over the data bus. On a few systems bus drivers might be required, but on the other systems direct connections can be used.

INT - It is used to send interrupt request signals to the CPU.

INTA - it is used to receive interrupt acknowledge signals from the CPU. The 8259A consider that an acknowledgment consists of two negative pulses, thus making it is compatible with 8086/8088 systems.

RD - it is used to signal the 8259A that it is to place the contents of the IRR ,ISR, or IMR, register or a priority level on the data bus. These possibilities is placed on the bus depends on the state of the 8259A and is discussed below.

1448_8259 A.jpg

WR - To signal the 8259A that it is to receive data from the data bus and us the data to set the bits in the command words.

CS - For indicating that the 8259A is being accessed. This pin is linked to the address bus through the decoder logic that compares the high-order bits of the address of the 8259A with the address presently on the address bus.  Input to this pin may be combined with S2 to give the ready signal.

AO - For indicating which port of the 8259A is being accessed.  2 addresses might be booked in the I/O address space for each 8259A in the system.

IR7-IRO - For receiving interrupt requests from I/O interfaces or other 8259As mentioned to as slaves.

CAS2-CASO - To recognize a specific slave device.

SP/EN  - For 1 of 2 purposes; either as an input to decide whether the 8259A is to be either as a slave (SP/EN = 0) or a master (SP/EN = 1) as an output to disable the data bus transceivers when data are being transferred from the 8259A to the CPU. Whether the SP/EN pin is utilized as an input or output depends on the buffer mode discussed below.

Posted Date: 10/10/2012 8:33:56 AM | Location : United States







Related Discussions:- Interrupt system based on 8259 a-microprocessor, Assignment Help, Ask Question on Interrupt system based on 8259 a-microprocessor, Get Answer, Expert's Help, Interrupt system based on 8259 a-microprocessor Discussions

Write discussion on Interrupt system based on 8259 a-microprocessor
Your posts are moderated
Related Questions
LDS/LES Instruction execution :  LAHF : Load AH from Lower Byte of Flag: - This instruction loads the AH register with the lower byte of the flag register. This instruction ca

Write an assembly language program to find the maximum of: y = x 6 - 14x 2 + 56x for the range -2 ≤ x ≤ 4, by stepping one by one through the range. The program should in

Write an application that does the following: (1) fill an array with 50 random integers; (2) loop through the array, displaying each value, and count the number of negative values;

Flag Register : 8086 has a 16-bit flag register which is divided into 2 parts, viz. (a)machine control flagsand (b)condition code or status flags. The condition code flag regi

Comparison between 8086 and 8088 All the changes in 8088 above 8086 are indirectly or directly related to the 8-bit, 8085 compatible data and control bus interface. 1) The p

64-bit integer calculator, which processes using 16-bits at a time (reg/mem16 operands)

Memory Interface                                                                  Figure: Memory Modulation design The memory of a computer contain of number of memo

DAS: Decimal Adjust after Subtraction:- This instruction converts the result of subtraction operation of 2 packed BCD numbers to a valid BCD number. The subtraction operation has

XOR: Logical Exclusive OR: The XOR operation is again carried out in a similar way to the AND and OR operation. The constraint over operands are also similar. The XOR operation pr

write an assembly language program to find average of odd numbers from an array of 8 bit numbers