This ppt will help you to know more about interrupt and pie block interrupt , and how to use pie interrupt. All the needed registers are explained briefly.
LOOP: Use in LOOPZ and LOOPNZ instructions. This bit is set when the instruction is still active. EALLOW: Emulation allow. This bit is set to allow retime debugger feature. IDLESTAT: Another bit use in emulation.