command | function |
---|---|
@ | Start of multiply-add description |
* | multiplication |
+ | addition |
− | subtraction |
> | Store (end of multiplication/addition description) |
( | left parenthesis |
) | right parenthesis |
LDI | Memory access and loading into MEMS |
L.D.Y. | Load from INPUTS to Y register |
LDA | Load from INPUTS to A register |
symbol | Explanation |
---|---|
REG | represents the previous multiplication/addition result |
YREGH | Represents a part of YREG (see syntax explanation of multiplication and addition) |
YREGL | Represents a part of YREG (see syntax explanation of multiplication and addition) |
FREG | (See store grammar explanation) |
ADREG | Address modulation (see store syntax explanation) |
symbol | Explanation |
---|---|
MEMS00~1F | Place data read from external memory here |
MIXS00~0F | Data from the sound source section appears here |
TEMP00~7F | You can temporarily store the multiplication and addition results here. |
EFREG00~0F | Put the processed data here |
EXTS00~01 | Data from external extension input appears here |
symbol | Explanation |
---|---|
MR[…] | Read from memory |
MW[…] | Write to memory |
pM | pA |
---|---|
INPUTS | [PEG, TEMP00-TEMP7F] |
TEMP00-TEMP7F | [REG,T]※ |
If you specify {TEMP00-TEMP7F} in pM and also specify TEMP in pA, only TEMP with the same subscript can be used. For this reason, pA is designated as “T”.
Notation | Data passed to multiplier (13bits) | ||
---|---|---|---|
YREGH |
| ||
YREGL |
|
opt | :Store option. One of {S1 / S2 / S3} or omitted. |
Destination(s) | : Specify the storage destination. Select one or more items from "Groups A to D" shown below. Cannot be omitted. |
group a | Any one of {TEMP00~7F} |
group b | FREG |
group c | ADREG |
group d | Any one of {EFREG00~0F} |
Note | When specifying ADREG for Destination(s), S3 must be specified for opt. |
---|
First parameter setting | shift | overflow protection | Store mode |
---|---|---|---|
omission | ×1 | With protection | A |
S1 | ×2 | With protection | A |
S2 | ×2 | No protection | A |
S3 | ×1 | No protection | B |
Mode/register name | ADREG (12bits) | FREG (13bits) | |||
---|---|---|---|---|---|
A |
|
| |||
B |
|
|
*Top 4 bits of ADREG/store mode A (in the table above) |
| ) is equal to bit23 of INPUTS |
Filled (sign extended) with the value (sign bit). |