#COEF ←Label indicating start of coefficient symbol definition -------------------------- (coefficient symbol definition formula) -------------------------- #ADRS ←Label indicating the start of address symbol definition -------------------------- (Address symbol definition formula) -------------------------- #PROG ←Label indicating the start of program description -------------------------- (Address symbol definition formula) -------------------------- #END ←Label indicating the end of the program description
…………………………………………… (symbol name)=(initial value) ……………………………………………
Note | One symbol can be defined per line of the definition formula, and an initial value must be given to each symbol. |
---|
coefficient symbol | :63 pieces |
address symbol | :32 pieces |
Note | This reserved symbol "ZERO" can be used in the program part of the source code created by the user without defining it in the coefficient definition part, but its value (on the executable program or on the DSP hardware loaded with it) (above, etc.) must not be modified in any way. |
---|
definition part | Notation mode | identifier | example | Conversion method | Example conversion result |
---|---|---|---|---|---|
#COFF | Hexadecimal notation | [&H] | &HOFFF | No conversion | &HFFF |
Decimal notation | none | one two three | Decimal → Hexadecimal | &H007B | |
%Notation | [%] | %50 | (1) | &H0800 | |
Decimal notation | [.] | 0.25 | (2) | &H0400 | |
#ADRS | Hexadecimal notation | [&H] | &H8000 | No conversion | &H8000 |
Decimal notation | none | one two three | Decimal → Hexadecimal | &H007B | |
millisecond notation | [ms] | ms300.0 | (3) | &H33AE |
definition part | Actual data format |
---|---|
#COEF | Hexadecimal number in 13bit 2's complement format |
#ADRS | Hexadecimal number in 16bit linear format |
definition part | Notation mode | range | Format |
---|---|---|---|
#COEF | Hexadecimal notation | 1000~0FFF[hex] | Hexadecimal signed integer (13 bits wide) |
Decimal notation | −4096 to +4095 [dec] | decimal signed integer | |
%Notation | -100 to +100 [%] | decimal signed integer | |
Decimal notation | −1.0 to +0.99975 [dec] | Decimal signed decimal number (integer part 1 digit, decimal part up to 5 digits) | |
#ADRS | Hexadecimal notation | 0~FFFF[hex] | Hexadecimal unsigned integer (16 bit width) |
Decimal notation | 0 to 65535 [deci] | decimal unsigned integer | |
millisecond notation | 0.0 to 1486.0 [ms] | Decimal unsigned decimal number (up to 4 digits for integer part and 1 digit for decimal part) |
#COEF CoefA = &H0FFF CoefB = 123 CoefC = %50 CoefD = 0.25 #ADRS AdrsA = &H8000 AdrsB = 123 AdrsC = ms300.0