
2-6
CPU
Z: Zero Flag
This flag is set when an operation result is all zeroes, and is cleared by any other result. This flag is
also cleared by a reset.
N: Negative Flag
This flag is set if the MSB of an operation result is "1", and is cleared if the MSB is "0". This flag
is also cleared by a reset.
C: Carry Flag
This flag is set when a carry or borrow to or from the MSB is generated in the course of executing an
operation, and is cleared if no carry or borrow is generated. This flag is also cleared by a reset.
V: Overflow Flag
This flag is set when an overflow occurs in a signed value in the course of executing an operation,
and is cleared if no overflow is generated. This flag is also cleared by a reset.
IM2 to IM0: Interrupt Mask
These bits indicate the CPU interrupt mask level. The three bits define the mask level from level 0
(000) to level 7 (111), with level 0 being the highest mask level. The CPU accepts only those
interrupt requests of a level higher than the mask level indicated here.
When an interrupt is accepted, the IM bits are set to the priority level of that interrupt. Until the
processing of the accepted interrupt is completed, the CPU does not accept interrupts with the same
interrupt level or lower.
The interrupt mask level is set to level 0 (000) by a reset.
IE: Interrupt Enable
Setting this bit to “1” allows interrupts to be accepted.
Once the CPU accepts an interrupt request, the IE bit is cleared to "0" and further acceptance of
interrupts is prohibited. Accordingly, the IE bit must be reset when processing nested interrupts.
This bit is cleared when the system is reset.
S1 to S0: Software Bits
These are the software control bits for the operating system. These bits cannot be used by general
user programs. These bits are cleared by a reset.
For details on changes of these flags, refer to the "Instruction Manual".
■
Loop Instruction Register (32-bit x 1)
This register is provided for the branch instruction (Lcc), and is used to load branch target instructions with the
SETLB instruction. This register works together with the Lcc instruction to enable high-speed loop control.
■
Loop Address Register (32-bit x 1)
This register is provided for the branch instruction (Lcc), and is used to load following fetch addresses with the
SETLB instruction.
Содержание MN103001G/F01K
Страница 1: ...MICROCOMPUTER MN1030 MN103001G F01K LSI User s Manual Pub No 23101 050E ...
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 7: ...14 A D Converter 15 I O Ports 16 Internal Flash Memory 17 Ordering Mask ROM Appendix 14 15 16 17 ...
Страница 8: ......
Страница 9: ...Table of Contents List of Figures and Tables 0 ...
Страница 26: ...xviii ...
Страница 27: ...1 0 1 General Specifications ...
Страница 35: ...2 CPU 2 ...
Страница 57: ...3 Extension Instruction Specifications 3 ...
Страница 96: ...Extension Instruction Specifications 3 40 ...
Страница 97: ...4 Memory Modes 3 4 ...
Страница 102: ...Memory Modes 4 6 ...
Страница 103: ...5 Operating Mode 5 ...
Страница 107: ...6 Clock Generator 6 13 ...
Страница 111: ...7 Internal Memory 7 ...
Страница 114: ...Internal Memory 7 4 ...
Страница 115: ...8 Bus Controller BC 8 ...
Страница 189: ...9 Interrupt Controller 9 ...
Страница 220: ...Interrupt Controller 9 32 ...
Страница 221: ...10 8 bit Timers 9 10 ...
Страница 254: ...8 bit Timers 10 34 ...
Страница 255: ...11 16 bit Timers 11 ...
Страница 292: ...16 bit Timers 11 38 ...
Страница 293: ...12 Watchdog Timer 11 12 ...
Страница 302: ...Watchdog Timer 12 10 ...
Страница 303: ...13 Serial Interface 13 ...
Страница 354: ...Serial Interface 13 52 ...
Страница 355: ...14 A D Converter 14 ...
Страница 367: ...15 I O Ports 15 ...
Страница 431: ...16 Internal Flash Memory 16 ...
Страница 439: ...17 17 Ordering Mask ROM ...
Страница 442: ...Ordering Mask ROM 17 4 ...
Страница 443: ...Appendix ...