Is disabling IE of PSW before writing to IF0L enough to prevent flags?

Question:

I am designing the system using the uPD78F0034B.
When writing to IF0L by software, what can I do to prevent the flags for other interrupts being cleared?
Is disabling IE of the PSW immediately before writing to IF0L enough?

Answer:

Unfortunately, the desired processing cannot be realized using the PSW.
In this case, use a bit manipulation instruction (clr1 or set1) to manipulate just the required bits.
By doing this, you will be able to write to IF0L without affecting the interrupt request flags assigned to other bits in IF0L.