SlideShare a Scribd company logo
1 of 17
Download to read offline
Prof. Nitin Ahire 1
Microprocessor & Microcontroller - I
T.E Sem V (Rev)
Prof. Nitin Ahire
XIE, Mahim
Prof. Nitin Ahire 2
Connection of I/O devices.
Polling method
Interrupt method
Prof. Nitin Ahire 3
Interrupt system of 8085
Definition: “It is a mechanism by which an
I/O device ( Hardware interrupt) or an
instruction (software interrupt) can suspend
the normal execution of the processor and
get it self serviced.”
Prof. Nitin Ahire 4
Types of interrupt
1) Hardware interrupt
2) Software interrupt
Prof. Nitin Ahire 5
Hardware interrupt
Interrupt : “It is an external asynchronous
input that inform the ‘up’ to complete the
instruction that it is currently executing and
fetch a new routine in order to offer a service
to that I/O devices. Once the I/O device is
serviced, the ‘up’ will continue with execution
of its normal program.”
Prof. Nitin Ahire 6
Hardware interrupt
8085 has ‘5’ hardware interrupt
1)Trap
2)RST 7.5
3)RST 6.5
4)RST 5.5
5)INTR
Prof. Nitin Ahire 7
Types of Hardware interrupt
NMI( non maskable)
1) It can’t be masked or
made pending
2) Highest priority
3) This interrupt disable
all maskable interrupts
4) Used for emergency
purpose like power
failure, smoke detector
e.g. TRAP
Maskable
1) It can be masked or made
pending
2) Lower priority
3) These interrupt dose not
disable non maskable
interrupt
4) Used to interface
peripherals.
e.g. RST 7.5
Prof. Nitin Ahire 8
Hardware Interrupt
Priority interrupt ISR address trigger
1 TRAP 0024h edge +level
2 RST 7.5 003Ch edge
3 RST 6.5 0034h level
4 RST 5.5 002Ch level
5 INTR No specific level
location
Prof. Nitin Ahire 9
Software interrupt
8085 has ‘8’ software interrupt
1)RST0
2)RST1
3)RST2
4)RST3
5)RST4
6)RST5
7)RST6
8)RST7
Prof. Nitin Ahire 10
Software interrupt
These instruction ( RST0-RST7) allow the
‘up’ to transfer the program control from main
program to the subroutine program (i.e. ISR)
ISR: interrupt service routing
Prof. Nitin Ahire 11
Software interrupt
Interrupt Restart locations
RST 0 0 X 8 = 0000h
RST 1 1 X 8 = 0008h
RST 2 2 x 8 = 0010h
RST 3 3 X 8 = 0018h
RST 4 4 X 8 = 0020h
RST 5 5 X 8 = 0028h
RST 6 6 X 8 = 0030h
RST 7 7 X 8 = 0038h
Prof. Nitin Ahire 12
Software interrupt / hardware interrupt
Software interrupt
1)It is as synchronous event
2)This interrupt is requested
by executing instruction
3)PC is incremented
4)The priority is highest
5)It can’t be ignored
6)It is not used to interface the
peripheral
Used in debugging
Hardware interrupt
1)It is an asynchronous event
2)This interrupt is requested
by external device
3)PC is not incremented
4)The priority is lower than
softer interrupt
5)Can be masked
6)It is used to interface
peripheral devices
Prof. Nitin Ahire 13
Interrupt related instructions
1) EI : it is used to enable the all maskable
interrupt. It required 1-byte, one MC (4T). It
does not affect on TRAP
2) DI : it is used to disable all maskable
interrupt. 1-byte (4T). It does not affect on
TRAP
Prof. Nitin Ahire 14
Interrupt related instructions
SIM : (set interrupt mask)
1-byte (4T) state.
Used to enable or disable RST 7.5, RST 6.5,
RST 5.5 interrupts.
It does not affect on TRAP & INTR .
It is used in serial data transmission
It also transfer serial data bit ‘D7’of ‘A’ to the
SOD pin
Hence the CWR format must be load in the ‘A’
before execution of SIM instruction.
Prof. Nitin Ahire 15
SIM (bit pattern)
SOD pin
D7= SOD
D6= serial data enable 1=enable, 0=disable
D5= Don’t care
D4= Reset R7.5 F/F, 1=Reset 0=no effect
D3=MSE Mask set enable 1=D2,D1,D0 bit are effective
0=D2,D1,D0 bit are ignored
D2= M’7.5 Mask RST 7.5 1= Mask or disable R7.5
0= Enable RST 7.5
D1=M’6.5 Mask RST 6.5 1= Mask or disable R6.5
0= Enable RST 6.5
D0=M’5.5 Mask RST 5.5 1= Mask or disable R5.5
0= Enable RST 5.5
SOD SDE M’ 6.5M’ 7.5MSER 7.5X M’ 5.5
Prof. Nitin Ahire 16
Interrupt related instructions
RIM : ( read interrupt mask)
1-byte (4T) state.
It gives the status of the pending maskable interrupt
(RST 7.5 – RST 5.5)
It does not affect on TRAP & INTR
It can also transfer the contents of the serial input data
on the SID pin into the accumulator (‘D7’ bit.)
Hence after execution of this instruction serial data get
load in to the accumulator
Prof. Nitin Ahire 17
RIM (bit pattern)
SID pin
D7= SID
D6=
D5= if 1 respective interrupt is pending
D4= 0 respective interrupt is not pending
D3=IE interrupt enable
D2=
D1= if 1 respective interrupt is Masked
D0= 0 respective interrupt is unmasked
SID I 7.5 M 6.5M 7.5IEI 5.5I 6.5 M 5.5

More Related Content

What's hot

8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
8259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R28259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R2
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
Aisu
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
Mustapha Fatty
 
Microprogram Control
Microprogram Control Microprogram Control
Microprogram Control
Anuj Modi
 
Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))
Ganesh Ram
 
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
RamaPrabha24
 

What's hot (20)

8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller8259 Programmable Interrupt Controller
8259 Programmable Interrupt Controller
 
Interrupt 8085
Interrupt 8085Interrupt 8085
Interrupt 8085
 
Interrupts in 8051
Interrupts in 8051Interrupts in 8051
Interrupts in 8051
 
Input output module
Input output moduleInput output module
Input output module
 
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
8259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R28259 A  P R O G R A M M A B L E  I N T E R R U P T  C O N T R O L L E R2
8259 A P R O G R A M M A B L E I N T E R R U P T C O N T R O L L E R2
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
 
8259 Operating Modes.pptx
8259 Operating Modes.pptx8259 Operating Modes.pptx
8259 Operating Modes.pptx
 
PPT on 8085 Microprocessor
PPT on 8085 Microprocessor  PPT on 8085 Microprocessor
PPT on 8085 Microprocessor
 
Microprogram Control
Microprogram Control Microprogram Control
Microprogram Control
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
 
Microprogrammed Control Unit
Microprogrammed Control UnitMicroprogrammed Control Unit
Microprogrammed Control Unit
 
Programed I/O Modul..
Programed I/O Modul..Programed I/O Modul..
Programed I/O Modul..
 
Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))Architecture of 8051 microcontroller))
Architecture of 8051 microcontroller))
 
Direct access memory
Direct access memoryDirect access memory
Direct access memory
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085
 
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
 
COMPUTER ORGANIZATION NOTES Unit 7
COMPUTER ORGANIZATION NOTES Unit 7COMPUTER ORGANIZATION NOTES Unit 7
COMPUTER ORGANIZATION NOTES Unit 7
 
Registers
RegistersRegisters
Registers
 
Architecture of 80286 microprocessor
Architecture of 80286 microprocessorArchitecture of 80286 microprocessor
Architecture of 80286 microprocessor
 
Data transfer techniques 8085
Data transfer techniques 8085Data transfer techniques 8085
Data transfer techniques 8085
 

Similar to Interrupt of 8085

Interrupt11
Interrupt11Interrupt11
Interrupt11
Aisu
 
8085 interrupts
8085 interrupts8085 interrupts
8085 interrupts
Isha Negi
 
8085 interrupts
8085 interrupts8085 interrupts
8085 interrupts
Isha Negi
 

Similar to Interrupt of 8085 (20)

interrupts.ppt
interrupts.pptinterrupts.ppt
interrupts.ppt
 
Interrupt
InterruptInterrupt
Interrupt
 
Interrupt11
Interrupt11Interrupt11
Interrupt11
 
Interrupts
InterruptsInterrupts
Interrupts
 
Interruptsof8085
Interruptsof8085Interruptsof8085
Interruptsof8085
 
Types of Interrupts with details Mi ppt
Types of Interrupts with details Mi pptTypes of Interrupts with details Mi ppt
Types of Interrupts with details Mi ppt
 
8085 interrupts
8085 interrupts8085 interrupts
8085 interrupts
 
8085 interrupts
8085 interrupts8085 interrupts
8085 interrupts
 
Timing n interrupt.pptx
Timing n interrupt.pptxTiming n interrupt.pptx
Timing n interrupt.pptx
 
Chapter 4 - Interrupts of 8085
Chapter 4 - Interrupts of 8085Chapter 4 - Interrupts of 8085
Chapter 4 - Interrupts of 8085
 
Introduction to Interrupts of 8085 microprocessor
Introduction to Interrupts of 8085 microprocessorIntroduction to Interrupts of 8085 microprocessor
Introduction to Interrupts of 8085 microprocessor
 
Presentation on Intel 8085 processor
Presentation on Intel 8085 processorPresentation on Intel 8085 processor
Presentation on Intel 8085 processor
 
21. interrupts
21. interrupts21. interrupts
21. interrupts
 
Interrupts of 8085
Interrupts of 8085Interrupts of 8085
Interrupts of 8085
 
Microprocessor Part 4
Microprocessor    Part 4Microprocessor    Part 4
Microprocessor Part 4
 
Microprocessor Architecture 4
Microprocessor Architecture  4Microprocessor Architecture  4
Microprocessor Architecture 4
 
8085 interrupts
8085 interrupts8085 interrupts
8085 interrupts
 
8085 interrupts
8085 interrupts8085 interrupts
8085 interrupts
 
Interrupts and types of interrupts
Interrupts and types of interruptsInterrupts and types of interrupts
Interrupts and types of interrupts
 
Interrupts of 8086
Interrupts of 8086Interrupts of 8086
Interrupts of 8086
 

More from Nitin Ahire (10)

Microprocessor 8086 8087_nitin ahire
Microprocessor 8086 8087_nitin ahireMicroprocessor 8086 8087_nitin ahire
Microprocessor 8086 8087_nitin ahire
 
8051 Microcontroller
8051 Microcontroller8051 Microcontroller
8051 Microcontroller
 
8085 ppi 8255 and 8155
8085 ppi 8255 and 81558085 ppi 8255 and 8155
8085 ppi 8255 and 8155
 
Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
Addressing mode of 8051
Addressing mode of 8051Addressing mode of 8051
Addressing mode of 8051
 
8051 singed number concept [compatibility mode]
8051 singed  number concept [compatibility mode]8051 singed  number concept [compatibility mode]
8051 singed number concept [compatibility mode]
 
8051 micro controllers Instruction set
8051 micro controllers Instruction set 8051 micro controllers Instruction set
8051 micro controllers Instruction set
 
8051 (microcontroller)class1
8051 (microcontroller)class18051 (microcontroller)class1
8051 (microcontroller)class1
 
Serial communication in 8085
Serial communication in 8085Serial communication in 8085
Serial communication in 8085
 
Interfacing of io device to 8085
Interfacing of io device to 8085Interfacing of io device to 8085
Interfacing of io device to 8085
 

Recently uploaded

1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 

Recently uploaded (20)

Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 

Interrupt of 8085

  • 1. Prof. Nitin Ahire 1 Microprocessor & Microcontroller - I T.E Sem V (Rev) Prof. Nitin Ahire XIE, Mahim
  • 2. Prof. Nitin Ahire 2 Connection of I/O devices. Polling method Interrupt method
  • 3. Prof. Nitin Ahire 3 Interrupt system of 8085 Definition: “It is a mechanism by which an I/O device ( Hardware interrupt) or an instruction (software interrupt) can suspend the normal execution of the processor and get it self serviced.”
  • 4. Prof. Nitin Ahire 4 Types of interrupt 1) Hardware interrupt 2) Software interrupt
  • 5. Prof. Nitin Ahire 5 Hardware interrupt Interrupt : “It is an external asynchronous input that inform the ‘up’ to complete the instruction that it is currently executing and fetch a new routine in order to offer a service to that I/O devices. Once the I/O device is serviced, the ‘up’ will continue with execution of its normal program.”
  • 6. Prof. Nitin Ahire 6 Hardware interrupt 8085 has ‘5’ hardware interrupt 1)Trap 2)RST 7.5 3)RST 6.5 4)RST 5.5 5)INTR
  • 7. Prof. Nitin Ahire 7 Types of Hardware interrupt NMI( non maskable) 1) It can’t be masked or made pending 2) Highest priority 3) This interrupt disable all maskable interrupts 4) Used for emergency purpose like power failure, smoke detector e.g. TRAP Maskable 1) It can be masked or made pending 2) Lower priority 3) These interrupt dose not disable non maskable interrupt 4) Used to interface peripherals. e.g. RST 7.5
  • 8. Prof. Nitin Ahire 8 Hardware Interrupt Priority interrupt ISR address trigger 1 TRAP 0024h edge +level 2 RST 7.5 003Ch edge 3 RST 6.5 0034h level 4 RST 5.5 002Ch level 5 INTR No specific level location
  • 9. Prof. Nitin Ahire 9 Software interrupt 8085 has ‘8’ software interrupt 1)RST0 2)RST1 3)RST2 4)RST3 5)RST4 6)RST5 7)RST6 8)RST7
  • 10. Prof. Nitin Ahire 10 Software interrupt These instruction ( RST0-RST7) allow the ‘up’ to transfer the program control from main program to the subroutine program (i.e. ISR) ISR: interrupt service routing
  • 11. Prof. Nitin Ahire 11 Software interrupt Interrupt Restart locations RST 0 0 X 8 = 0000h RST 1 1 X 8 = 0008h RST 2 2 x 8 = 0010h RST 3 3 X 8 = 0018h RST 4 4 X 8 = 0020h RST 5 5 X 8 = 0028h RST 6 6 X 8 = 0030h RST 7 7 X 8 = 0038h
  • 12. Prof. Nitin Ahire 12 Software interrupt / hardware interrupt Software interrupt 1)It is as synchronous event 2)This interrupt is requested by executing instruction 3)PC is incremented 4)The priority is highest 5)It can’t be ignored 6)It is not used to interface the peripheral Used in debugging Hardware interrupt 1)It is an asynchronous event 2)This interrupt is requested by external device 3)PC is not incremented 4)The priority is lower than softer interrupt 5)Can be masked 6)It is used to interface peripheral devices
  • 13. Prof. Nitin Ahire 13 Interrupt related instructions 1) EI : it is used to enable the all maskable interrupt. It required 1-byte, one MC (4T). It does not affect on TRAP 2) DI : it is used to disable all maskable interrupt. 1-byte (4T). It does not affect on TRAP
  • 14. Prof. Nitin Ahire 14 Interrupt related instructions SIM : (set interrupt mask) 1-byte (4T) state. Used to enable or disable RST 7.5, RST 6.5, RST 5.5 interrupts. It does not affect on TRAP & INTR . It is used in serial data transmission It also transfer serial data bit ‘D7’of ‘A’ to the SOD pin Hence the CWR format must be load in the ‘A’ before execution of SIM instruction.
  • 15. Prof. Nitin Ahire 15 SIM (bit pattern) SOD pin D7= SOD D6= serial data enable 1=enable, 0=disable D5= Don’t care D4= Reset R7.5 F/F, 1=Reset 0=no effect D3=MSE Mask set enable 1=D2,D1,D0 bit are effective 0=D2,D1,D0 bit are ignored D2= M’7.5 Mask RST 7.5 1= Mask or disable R7.5 0= Enable RST 7.5 D1=M’6.5 Mask RST 6.5 1= Mask or disable R6.5 0= Enable RST 6.5 D0=M’5.5 Mask RST 5.5 1= Mask or disable R5.5 0= Enable RST 5.5 SOD SDE M’ 6.5M’ 7.5MSER 7.5X M’ 5.5
  • 16. Prof. Nitin Ahire 16 Interrupt related instructions RIM : ( read interrupt mask) 1-byte (4T) state. It gives the status of the pending maskable interrupt (RST 7.5 – RST 5.5) It does not affect on TRAP & INTR It can also transfer the contents of the serial input data on the SID pin into the accumulator (‘D7’ bit.) Hence after execution of this instruction serial data get load in to the accumulator
  • 17. Prof. Nitin Ahire 17 RIM (bit pattern) SID pin D7= SID D6= D5= if 1 respective interrupt is pending D4= 0 respective interrupt is not pending D3=IE interrupt enable D2= D1= if 1 respective interrupt is Masked D0= 0 respective interrupt is unmasked SID I 7.5 M 6.5M 7.5IEI 5.5I 6.5 M 5.5