8085: Set Interrupt Mask.

Status
Not open for further replies.

lord loh.

Member
In the 8085 Assembly language instruction, SIM (Set Interrupt Mask), does the bit D3 that represent MSE-Mask Set Enable disable masking or also the interrupts...

A text book question says to write a code snippet to enable all interrupts...

The answer given is

Code:
EI
SIM 80H

What is wrong in the below code?
Code:
EI
SIM 00H

In the second code I am disabling the masking so does it disable the masking and gives all interrupts a free hand or does it diaable interrups all together?

Thanks in advance.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…