Hi list, VisualDSP++ 3.0 has a bug in the assembler. Consider the following example code: .SEGMENT /PM pm_delay; .VAR testbuf[9]; .ENDSEG; .SEGMENT /PM pm_code; /* this line assembles into: "lcntr=0, do (pc,9) until lce;" */ lcntr=@testbuf, do (pc,1) until lce; nop; .ENDSEG; Regards, Andor |
|
Warning: Assembler Bug in 3.0
Started by ●March 8, 2003
Reply by ●March 11, 20032003-03-11
I got the following reply from the tools support at ADI: > I can confirm that this is a known problem at 3.0 > > There is a workaround: > lcntr=@testbuf; > do (pc,1) until lce; > > instead of: lcntr=@testbuf, do (pc,1) until lce; Regards, Andor andor_bariska wrote: > Hi list, > > VisualDSP++ 3.0 has a bug in the assembler. Consider the following > example code: > > .SEGMENT /PM pm_delay; > > .VAR testbuf[9]; > > .ENDSEG; > .SEGMENT /PM pm_code; > /* this line assembles into: "lcntr=0, do (pc,9) until lce;" */ > lcntr=@testbuf, do (pc,1) until lce; > nop; > > .ENDSEG; > > Regards, > Andor |