![Micronas SDA 6000 Скачать руководство пользователя страница 74](http://html1.mh-extra.com/html/micronas/sda-6000/sda-6000_user-manual_1787802074.webp)
SDA 6000
PRELIMINARY DATA SHEET
Version 2.1
C16X Microcontroller
4 - 43
Micronas
V-flag, the C-flag allows the evaluation of the rounding error with a finer resolution
(see
Table 4-3
).
For Boolean bit operations with only one operand the V-flag is always cleared. For
Boolean bit operations with two operands the V-flag represents the logical ORing of
the two specified bits.
•
Z-Flag:
The Z-flag is normally set to ‘1’ if the result of an ALU operation equals zero,
otherwise it is cleared.
For the addition and subtraction with carry, the Z-flag is only set to ‘1’ if the Z-flag
already contains a ‘1’ and the result of the current ALU operation additionally equals
zero. This mechanism is provided for the support of multiple precision calculations.
For Boolean bit operations with only one operand the Z-flag represents the logical
negation of the previous state of the specified bit. For Boolean bit operations with two
operands the Z-flag represents the logical NORing of the two specified bits. For the
prioritized ALU operation the Z-flag indicates whether the second operand is zero or
not.
•
E-Flag:
The E-flag can be altered by instructions, which perform ALU or data
movement operations. The E-flag is cleared by those instructions which cannot be
reasonably used for table search operations. In all other cases the E-flag is set
depending on the value of the source operand to signify whether the end of a search
table is reached or not. If the value of the source operand of an instruction equals the
lowest negative number, which is representable by the data format of the
corresponding instruction (‘8000
H
’ for the word data type, or ‘80
H
’ for the byte data
type), the E-flag is set to ‘1’, otherwise it is cleared.
•
MULIP-Flag:
The MULIP-flag will be set to ‘1’ by hardware upon entry to an interrupt
service routine, when a multiply or divide ALU operation was interrupted before
completion. Depending on the state of the MULIP bit, the hardware decides whether
multiplication or division must be continued or not after the end of an interrupt service.
The MULIP bit is overwritten with the contents of the stacked MULIP-flag when the
return-from-interrupt-instruction (RETI) is executed. This normally means that the
MULIP-flag is cleared again after that.
Note: The MULIP flag is a part of the task environment. When the interrupting service
routine does not return to the interrupted multiply/divide instruction (i.e. as in the
Table 4-3
Shift Right Rounding Error Evaluation
C-Flag
V-Flag
Rounding Error Quantity
0
0
1
1
0
1
0
1
-
No rounding error
-
0 < Rounding error
<
1
/
2
LSB
Rounding error
=
1
/
2
LSB
Rounding error
>
1
/
2
LSB
Содержание SDA 6000
Страница 3: ...Contents Overview...
Страница 21: ...Pin Description...
Страница 22: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Pin Descriptions 2 3 Micronas 2 Pin Descriptions...
Страница 29: ...Architectural Overview...
Страница 33: ...C16X Microcontroller...
Страница 34: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 C16X Microcontroller 4 3 Micronas 4 C16X Microcontroller...
Страница 88: ...Interrupt and Trap Function...
Страница 122: ...System Control Configuration...
Страница 159: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 System Control Configuration 6 40 Micronas...
Страница 160: ...Peripherals...
Страница 282: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Peripherals 7 124 Micronas...
Страница 283: ...Clock System...
Страница 284: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Clock System 8 3 Micronas 8 Clock System...
Страница 288: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Clock System 8 8 Micronas...
Страница 289: ...Sync System...
Страница 290: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Sync System 9 3 Micronas 9 Sync System...
Страница 301: ...Display Generator...
Страница 302: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Display Generator 10 3 Micronas 10 Display Generator...
Страница 348: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Display Generator 10 50 Micronas...
Страница 349: ...D A Converter...
Страница 352: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 D A Converter 11 6 Micronas...
Страница 353: ...Slicer and Acquisition...
Страница 354: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Slicer and Acquisition 12 3 Micronas 12 Slicer and Acquisition...
Страница 381: ...Register Overview...
Страница 398: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Register Overview 13 20 Micronas...
Страница 399: ...Elelctrical Characteristics...
Страница 400: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Electrical Characteristics 14 3 Micronas 14 Electrical Characteristics...
Страница 411: ...SDA 6000 PRELIMINARY DATA SHEET Version 2 1 Electrical Characteristics 14 14 Micronas...