★ SOUND Manual ★ SCSP / DSP Assembler User's ManualCommand | function |
|---|---|
@ | Start of multiplication / addition description |
* | Multiply |
+ | Addition |
− | Subtraction |
> | Store (end of multiplication / addition description) |
( | Left parenthesis |
) | Right parenthesis |
LDI | Memory access and loading into MEMS |
LDY | Loading from INPUTS to Y register |
LDA | Loading from INPUTS to A register |
Symbol | Explanation |
|---|---|
REG | Represents the last multiplication / addition result |
YREGH | Represents a part of YREG (see Multiply-accumulation grammar explanation) |
YREGL | Represents a part of YREG (see Multiply-accumulation grammar explanation) |
FREG | (Refer to the grammar explanation of the store) |
ADREG | Address modulation (see store grammar explanation) |
Symbol | Explanation |
|---|---|
MEMS00 ~ 1F | Put the data read from the external memory here |
MIXS00 ~ 0F | Data from the sound source section appears here |
TEMP00-7F | Multiply-accumulation results can be temporarily placed here |
EFREG00 ~ 0F | Put the processed data here |
EXTS00-01 | Data from external extended inputs appear 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, you can only use TEMPs with the same subscript. Therefore, specify "T" for pA.
labels | Data passed to the multiplier (13bits) | ||
|---|---|---|---|
YREGH |
| ||
YREGL |
|
opt | : Store options. Any one of {S1 / S2 / S3}, or omitted. |
Destination (s) | : Specify the store destination. Select one or more in total from "Group a to Group d" shown below. Cannot be omitted. |
Group a | One of {TEMP00-7F} |
Group b | FREG |
Group c | ADREG |
Group d | One of {EFREG00 ~ 0F} |
caution![]() | When specifying ADREG for Destination (s), You must specify S3 for opt. |
|---|
1st parameter setting | shift | Overflow protection | Store mode |
|---|---|---|---|
omit | × 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 |
|
|
* Upper 4 bits of ADREG / store mode A (in the table above) |
| ) Is equal to bit23 of INPUTS |
| It is filled (sign-extended) with a value (sign bit). |
★ SOUND Manual ★ SCSP / DSP Assembler User's Manual