
Extension Instruction Specifications
3-23
MCST (Multiply-and-accumulate operation results 8-, 16-, 32-bit saturation operation instruction)
[Instruction Format (Macro Name)]
MCST
Dm, Dn
MCST
imm8, Dn
[Assembler Mnemonic]
udf02
Dm, Dn
udf02
imm8, Dn
: Only 0x20, 0x10, and 0x08 are valid as values for imm8
[Operation]
This instruction sets the contents of the multiply-and-accumulate operation overflow detect register MCVF in the V
flag. In addition, depending on the value of Dm or imm8, the following operations are performed.
(1) When the value of Dm or imm8 is 32 (0x00000020)
When the 64-bit result of the multiply-and-accumulate operation that is stored in the multiply-and-accumulate
registers MCRH and MCRL is equal to or greater than the maximum positive value for a 32-bit signed numeric
value (0x000000007fffffff), the maximum positive value (0x7fffffff) is stored in Dn. If the value stored in the
multiply-and-accumulate registers MCRH and MCRL is equal to or less than the maximum negative value for a 32-
bit signed numeric value (0xffffffff80000000), the maximum negative value (0x80000000) is stored in Dn. In all
other cases, the contents of MCRL are stored in Dn.
(2) When the value of Dm or imm8 is 16 (0x00000010)
When the 64-bit result of the multiply-and-accumulate operation that is stored in the multiply-and-accumulate
registers MCRH and MCRL is equal to or greater than the maximum positive value for a 16-bit signed numeric
value (0x0000000000007fff), the maximum positive value (0x00007fff) is stored in Dn. If the value stored in the
multiply-and-accumulate registers MCRH and MCRL is equal to or less than the maximum negative value for a 16-
bit signed numeric value (0xffffffffffff8000), the maximum negative value (0xffff8000) is stored in Dn. In all other
cases, the contents of MCRL are stored in Dn.
(3) When the value of Dm or imm8 is 8 (0x00000008)
When the 32-bit result of the multiply-and-accumulate operation that is stored in the multiply-and-accumulate
register MCRL is equal to or greater than the maximum positive value for an 8-bit signed numeric value (0x0000007f),
the maximum positive value (0x7f) is stored in Dn. If the value stored in the multiply-and-accumulate register
MCRL is equal to or less than the maximum negative value for an 8-bit signed numeric value (0xffffff80), the
maximum negative value (0x80) is stored in Dn. In all other cases, the contents of MCRL are stored in Dn.
(4) When the value of Dm or imm8 is any other value
The value in Dn is undefined.
Содержание 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 ...