21.07.2015 Views

M16C User Manual.pdf

M16C User Manual.pdf

M16C User Manual.pdf

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CPUMitsubishi microcomputers<strong>M16C</strong> / 62 GroupSINGLE-CHIP 16-BIT CMOS MICROCOMPUTER• Bit 7: Stack pointer select flag (U flag)Interrupt stack pointer (ISP) is selected when this flag is “0” ; user stack pointer (USP) is selectedwhen this flag is “1”.This flag is cleared to “0” when a hardware interrupt is acknowledged or an INT instruction of softwareinterrupt Nos. 0 to 31 is executed.• Bits 8 to 11: Reserved area• Bits 12 to 14: Processor interrupt priority level (IPL)Processor interrupt priority level (IPL) is configured with three bits, for specification of up to eightprocessor interrupt priority levels from level 0 to level 7.If a requested interrupt has priority greater than the processor interrupt priority level (IPL), the interruptis enabled.• Bit 15: Reserved areaThe C, Z, S, and O flags are changed when instructions are executed. See the software manual fordetails.b15IPL UIO B SZCD b0Flag register (FLG)Carry flagDebug flagZero flagSign flagRegister bank select flagOverflow flagInterrupt enable flagStack pointer select flagReserved areaProcessor interrupt priority levelReserved areaFigure 1.5.2. Flag register (FLG)14

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!