📄 cc_build_custom.log
字号:
------------------------------ dac.pjt - Custom ------------------------------
"d:\ti\CCS5K22\c5400\cgtools\bin\cl500" -g -as -fr"D:/2407EDULab.stu/Lab9-DA" -v2 -xx -@"Custom.lkf" "LFDAC.asm"
>> WARNING: invalid option -xx (ignored)
"LFDAC.asm", ERROR! at line 20: [E0003] Invalid hex constant specified
.include 240x.h
"LFDAC.asm", ERROR! at line 52: [E0002] Invalid mnemonic specification
START: LDP #0h
"LFDAC.asm", ERROR! at line 53: [E0002] Invalid mnemonic specification
SETC INTM ;Disable interrupts
"LFDAC.asm", ERROR! at line 54: [E0002] Invalid mnemonic specification
SETC CNF
"LFDAC.asm", ERROR! at line 55: [E0002] Invalid mnemonic specification
SPLK #0h, IMR ;Mask all Ints
"LFDAC.asm", ERROR! at line 56: [E0002] Invalid mnemonic specification
LACC IFR ;Read Interrupt flags
"LFDAC.asm", ERROR! at line 57: [E0002] Invalid mnemonic specification
SACL IFR ;Clear all interrupt flags
"LFDAC.asm", ERROR! at line 59: [E0002] Invalid mnemonic specification
CLRC SXM ;Clear Sign Extension Mode
"LFDAC.asm", ERROR! at line 60: [E0002] Invalid mnemonic specification
CLRC OVM ;Reset Overflow Mode
"LFDAC.asm", ERROR! at line 61: [E0002] Invalid mnemonic specification
CLRC CNF ;Config Block B0 to Data mem.
"LFDAC.asm", ERROR! at line 63: [E0002] Invalid mnemonic specification
LDP #00E0h
"LFDAC.asm", ERROR! at line 64: [E0002] Invalid mnemonic specification
SPLK #0285h, SCSR1 ; x2 PLL, ADC en, EV1 en, clr Ill Addr flg
"LFDAC.asm", ERROR! at line 66: [E0002] Invalid mnemonic specification
SPLK #006Fh, WDCR ;Disable WD if VCCP=5V
"LFDAC.asm", ERROR! at line 67: [E0002] Invalid mnemonic specification
LDP #00E0h
"LFDAC.asm", ERROR! at line 67: [E0002] Invalid mnemonic specification
SPLK #05555h,WD_KEY
"LFDAC.asm", ERROR! at line 67: [E0002] Invalid mnemonic specification
SPLK #0AAAAh,WD_KEY
"LFDAC.asm", ERROR! at line 67: [E0002] Invalid mnemonic specification
LDP #0h
"LFDAC.asm", ERROR! at line 69: [E0002] Invalid mnemonic specification
SPLK #0h, GPR0 ;Set 1 wait states for I/O space
"LFDAC.asm", ERROR! at line 70: [E0002] Invalid mnemonic specification
OUT GPR0, WSGR
"LFDAC.asm", ERROR! at line 74: [E0002] Invalid mnemonic specification
LDP #0000h ;DP for address 0000h-007Fh, B2
"LFDAC.asm", ERROR! at line 75: [E0002] Invalid mnemonic specification
SPLK #4h,GPR0 ;Set Wait State Generator for
"LFDAC.asm", ERROR! at line 76: [E0002] Invalid mnemonic specification
OUT GPR0,WSGR ;Program Space, 0 wait states
"LFDAC.asm", ERROR! at line 111: [E0002] Invalid mnemonic specification
SPLK #0000h,TABLE
"LFDAC.asm", ERROR! at line 112: [E0002] Invalid mnemonic specification
SPLK #STABLE,TOPTABLE
"LFDAC.asm", ERROR! at line 114: [E0002] Invalid mnemonic specification
SPLK #1000,FREQSTEP0 ;Controls the frequency for DAC0
"LFDAC.asm", ERROR! at line 115: [E0002] Invalid mnemonic specification
SPLK #0C000h,MODREG0 ;Sets the starting point
"LFDAC.asm", ERROR! at line 116: [E0002] Invalid mnemonic specification
SPLK #7FFFh,MAG0 ;Maximum value, Q15
"LFDAC.asm", ERROR! at line 118: [E0002] Invalid mnemonic specification
SPLK #1000,FREQSTEP1 ;Controls the frequency for DAC1
"LFDAC.asm", ERROR! at line 119: [E0002] Invalid mnemonic specification
SPLK #0000h,MODREG1 ;Sets the starting point
"LFDAC.asm", ERROR! at line 120: [E0002] Invalid mnemonic specification
SPLK #7FFFh,MAG1 ;Maximum value, Q15
"LFDAC.asm", ERROR! at line 122: [E0002] Invalid mnemonic specification
SPLK #1000,FREQSTEP2 ;Controls the frequency for DAC2
"LFDAC.asm", ERROR! at line 123: [E0002] Invalid mnemonic specification
SPLK #4000h,MODREG2 ;Sets the starting point
"LFDAC.asm", ERROR! at line 124: [E0002] Invalid mnemonic specification
SPLK #7FFFh,MAG2 ;Maximum value, Q15
"LFDAC.asm", ERROR! at line 126: [E0002] Invalid mnemonic specification
SPLK #1000,FREQSTEP3 ;Controls the frequency for DAC3
"LFDAC.asm", ERROR! at line 127: [E0002] Invalid mnemonic specification
SPLK #08000h,MODREG3 ;Sets the starting point
"LFDAC.asm", ERROR! at line 128: [E0002] Invalid mnemonic specification
SPLK #7FFFh,MAG3 ;Maximum value, Q15
"LFDAC.asm", ERROR! at line 132: [E0002] Invalid mnemonic specification
SINE LDP #0
"LFDAC.asm", ERROR! at line 133: [E0002] Invalid mnemonic specification
LACC MODREG0 ;ACC loaded with the counting register
"LFDAC.asm", ERROR! at line 134: [E0005] Missing operand(s)
ADD FREQSTEP0 ;Counting Register increased by specific step
"LFDAC.asm", ERROR! at line 135: [E0002] Invalid mnemonic specification
SACL MODREG0 ;Store the updated the counter value
"LFDAC.asm", ERROR! at line 136: [E0002] Invalid mnemonic specification
LACC MODREG0,8 ;Reload the new counter value but shift left by 8 bits
"LFDAC.asm", ERROR! at line 137: [E0002] Invalid mnemonic specification
SACH TABLE ;Store the high bit into the TABLE as pointer to lookup table
"LFDAC.asm", ERROR! at line 138: [E0002] Invalid mnemonic specification
SFR ;Shift the value to the right convert to Q15
"LFDAC.asm", ERROR! at line 139: [E0005] Missing operand(s)
AND #07FFFh ;Make sure the Q15 value is positive
"LFDAC.asm", ERROR! at line 140: [E0002] Invalid mnemonic specification
SACL REMAINDER ;Store the fractional value of the counting register
"LFDAC.asm", ERROR! at line 142: [E0002] Invalid mnemonic specification
LACC TABLE ;Load the accumulator with the proper index value
"LFDAC.asm", ERROR! at line 143: [E0005] Missing operand(s)
ADD TOPTABLE ;Displace the ACC with the starting address
"LFDAC.asm", ERROR! at line 144: [E0002] Invalid mnemonic specification
TBLR VALUE ;Read the value from the table and store into VALUE
"LFDAC.asm", ERROR! at line 145: [E0005] Missing operand(s)
ADD #1 ;Increment the ACC to the next address
"LFDAC.asm", ERROR! at line 146: [E0002] Invalid mnemonic specification
TBLR NEXTVALUE ;Read the next value from the table and store into NEXTVALUE
"LFDAC.asm", ERROR! at line 148: [E0002] Invalid mnemonic specification
LACC NEXTVALUE ;Load the ACC with NEXTVALUE
"LFDAC.asm", ERROR! at line 149: [E0005] Missing operand(s)
SUB VALUE ;Subtract the previous value
"LFDAC.asm", ERROR! at line 150: [E0002] Invalid mnemonic specification
SACL DIFFERENCE ;Store the difference between the values into DIFFERENCE
"LFDAC.asm", ERROR! at line 152: [E0002] Invalid mnemonic specification
LT DIFFERENCE ;Load the TREG with DIFFERENCE
"LFDAC.asm", ERROR! at line 153: [E0005] Missing operand(s)
MPY REMAINDER ;Multiply the DIFFERENCE with REMAINDER
"LFDAC.asm", ERROR! at line 154: [E0002] Invalid mnemonic specification
PAC ;Move the product to the ACC
"LFDAC.asm", ERROR! at line 156: [E0002] Invalid mnemonic specification
SACH REMAINDER,1 ;Store the upper byte to REMAINER and shift left by 1, Q15
"LFDAC.asm", ERROR! at line 157: [E0002] Invalid mnemonic specification
LACC REMAINDER ;Load ACC with new REMAINDER
"LFDAC.asm", ERROR! at line 158: [E0005] Missing operand(s)
ADD VALUE ;Add VALUE to get the new interpolated value
"LFDAC.asm", ERROR! at line 159: [E0002] Invalid mnemonic specification
SACL VALUE ;Store the interpolated value into VALUE
"LFDAC.asm", ERROR! at line 161: [E0002] Invalid mnemonic specification
LT VALUE ;Load the TREG with the new interpolated VALUE
"LFDAC.asm", ERROR! at line 162: [E0005] Missing operand(s)
MPY MAG0 ;Multiply VALUE by a magnitude
"LFDAC.asm", ERROR! at line 163: [E0002] Invalid mnemonic specification
PAC ;Move the product to ACC
"LFDAC.asm", ERROR! at line 164: [E0002] Invalid mnemonic specification
SACH DAC0VAL,1 ;Store the new value to DAC0VAL to output, shift to get Q15
"LFDAC.asm", ERROR! at line 168: [E0002] Invalid mnemonic specification
LACC MODREG1 ;ACC loaded with the counting register
"LFDAC.asm", ERROR! at line 169: [E0005] Missing operand(s)
ADD FREQSTEP1 ;Counting Register increased by specific step
"LFDAC.asm", ERROR! at line 170: [E0002] Invalid mnemonic specification
SACL MODREG1 ;Store the updated the counter value
"LFDAC.asm", ERROR! at line 171: [E0002] Invalid mnemonic specification
LACC MODREG1,8 ;Reload the new counter value but shift left by 8 bits
"LFDAC.asm", ERROR! at line 172: [E0002] Invalid mnemonic specification
SACH TABLE ;Store the high bit into the TABLE as pointer to lookup table
"LFDAC.asm", ERROR! at line 173: [E0002] Invalid mnemonic specification
SFR ;Shift the value to the right convert to Q15
"LFDAC.asm", ERROR! at line 174: [E0005] Missing operand(s)
AND #07FFFh ;Make sure the Q15 value is positive
"LFDAC.asm", ERROR! at line 175: [E0002] Invalid mnemonic specification
SACL REMAINDER ;Store the fractional value of the counting register
"LFDAC.asm", ERROR! at line 177: [E0002] Invalid mnemonic specification
LACC TABLE ;Load the accumulator with the proper index value
"LFDAC.asm", ERROR! at line 178: [E0005] Missing operand(s)
ADD TOPTABLE ;Displace the ACC with the starting address
"LFDAC.asm", ERROR! at line 179: [E0002] Invalid mnemonic specification
TBLR VALUE ;Read the value from the table and store into VALUE
"LFDAC.asm", ERROR! at line 180: [E0005] Missing operand(s)
ADD #1 ;Increment the ACC to the next address
"LFDAC.asm", ERROR! at line 181: [E0002] Invalid mnemonic specification
TBLR NEXTVALUE ;Read the next value from the table and store into NEXTVALUE
"LFDAC.asm", ERROR! at line 183: [E0002] Invalid mnemonic specification
LACC NEXTVALUE ;Load the ACC with NEXTVALUE
"LFDAC.asm", ERROR! at line 184: [E0005] Missing operand(s)
SUB VALUE ;Subtract the previous value
"LFDAC.asm", ERROR! at line 185: [E0002] Invalid mnemonic specification
SACL DIFFERENCE ;Store the difference between the values into DIFFERENCE
"LFDAC.asm", ERROR! at line 187: [E0002] Invalid mnemonic specification
LT DIFFERENCE ;Load the TREG with DIFFERENCE
"LFDAC.asm", ERROR! at line 188: [E0005] Missing operand(s)
MPY REMAINDER ;Multiply the DIFFERENCE with REMAINDER
"LFDAC.asm", ERROR! at line 189: [E0002] Invalid mnemonic specification
PAC ;Move the product to the ACC
"LFDAC.asm", ERROR! at line 190: [E0002] Invalid mnemonic specification
SACH REMAINDER,1 ;Store the upper byte to REMAINER and shift left by 1, Q15
"LFDAC.asm", ERROR! at line 192: [E0002] Invalid mnemonic specification
LACC REMAINDER ;Load ACC with new REMAINDER
"LFDAC.asm", ERROR! at line 193: [E0005] Missing operand(s)
ADD VALUE ;Add VALUE to get the new interpolated value
"LFDAC.asm", ERROR! at line 194: [E0002] Invalid mnemonic specification
SACL VALUE ;Store the interpolated value into VALUE
"LFDAC.asm", ERROR! at line 196: [E0002] Invalid mnemonic specification
LT VALUE ;Load the TREG with the new interpolated VALUE
"LFDAC.asm", ERROR! at line 197: [E0005] Missing operand(s)
MPY MAG1 ;Multiply VALUE by a magnitude
"LFDAC.asm", ERROR! at line 198: [E0002] Invalid mnemonic specification
PAC ;Move the product to ACC
"LFDAC.asm", ERROR! at line 199: [E0002] Invalid mnemonic specification
SACH DAC1VAL,1 ;Store the new value to DAC0VAL to output, shift to get Q15
"LFDAC.asm", ERROR! at line 204: [E0002] Invalid mnemonic specification
LACC MODREG2 ;ACC loaded with the counting register
"LFDAC.asm", ERROR! at line 205: [E0005] Missing operand(s)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -