Chapter 24 Flashcards Preview

Computer Architecture and Assembly Language Programming > Chapter 24 > Flashcards

Flashcards in Chapter 24 Deck (27)
Loading flashcards...
1
Q

What in interrupt

A

It is a signal send to processor to start or stop working

2
Q

What is Programmable Interrupt Controller (PIC)

A

Since there are many devices generating interrupts and there is only one pin going inside the processor and one pin cannot be technically derived by more than one source. A controller is used in between called the Programmable Interrupt Controller (PIC). It has eight input signals and one output signal.

3
Q

How processor know from which source interrupt generated to it

A

From mapping mechanism

4
Q

What is IRQ

A

The eight input signals to the PIC are called Interrupt Requests (IRQ)

5
Q

How much IRQ are there in a processor

A

8

6
Q

What is highest priority IRQ

A

0

7
Q

What are IO ports

A

Processor communicates with peripheral devices like keyboard, sound card etc through I/O ports

8
Q

What operation done by processor for I/O ports and what processes done by I/O ports

A

read and write

9
Q

IBM based processor (IAPAX88) takes memory address base and peripheral address base separate. True or false

A

True

10
Q

What is memory mapped I/O

A

There are some processor who takes peripheral address base inside memory address base. They are called memory mapped IO.

11
Q

What is the size of IAPAX88 address bus

A

20 bits

12
Q

What are instructions for read and write port

A
In = read
Out = Write
13
Q

AX for what

A

byte

14
Q

AL for what

A

Word

15
Q

Which register holds port address

A

DX

16
Q

How to enable IRQ

A

by 0

17
Q

What is INT pin

A

There is a single pin outside the processor called the INT pin that is used by external hardware to generate interrupts.

18
Q

What is IRQ conflict

A

An IRQ conflict means that two devices in the system want to use the same IRQ line.

19
Q

IRQ 0 is for

A

timer

20
Q

IRQ 1 is for

A

keyboard

21
Q

IRQ 2 is for

A

cascading interrupt

22
Q

IRQ 3 is for

A

serial port COM 2

23
Q

IRQ 4 is for

A

serial port COM 1

24
Q

IRQ 5 is for

A

sound card or the network card or the modem

25
Q

IRQ 6 is for

A

floppy disk drive

26
Q

IRQ 7 is for

A

parallel port

27
Q

What interrupt signal sent at the end

A

End Of Interrupt (EOI) signal