📄 spidisp.plg
字号:
SPIDISP.S(47): error: bad expression -- `bl DELAYS//软件延时'
SPIDISP.S(55): error: bad instruction `disp_tab DCD 0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90'
SPIDISP.S(56): error: bad instruction `dcd 0x88,0x83,0xC6,0xA1,0x86,0x8E'
SPIDISP.S(57): warning: partial line at end of file ignored
Target not created
Build target 'Target 1'
assembling Startup.s...
assembling SPIDISP.S...
SPIDISP.S: Assembler messages:
SPIDISP.S(0): warning: end of file in multiline comment
SPIDISP.S(8): error: bad expression
SPIDISP.S(8): warning: division by zero
SPIDISP.S(8): warning: rest of line ignored; first ignored character is `P'
SPIDISP.S(16): error: constant expression expected -- `ldr SP,=0x40003F00//设置堆栈指针SP'
SPIDISP.S(17): error: constant expression expected -- `ldr R0,=PINSEL0//设置SPI0接口有效'
SPIDISP.S(23): error: constant expression expected -- `ldr R0,=IO0DIR//设置HC595片选控制口为输出'
SPIDISP.S(27): warning: rest of line ignored; first ignored character is `/'
SPIDISP.S(30): error: garbage following instruction -- `str R1,[R0,#0x0C]//S0PCCR=0x52,设置SPI时钟'
SPIDISP.S(32): error: garbage following instruction -- `str R1,[R0]//S0PCR=0x30,设置SPI接口模式,MSTR=1,CPOL=1,CPHA=0,LSBF=0'
SPIDISP.S(34): warning: rest of line ignored; first ignored character is `/'
SPIDISP.S(36): error: bad instruction `main_loop MOV R5,#0'
SPIDISP.S(37): error: bad instruction `main_loop1 LDR R2,[R4,R5,LSL#2]//查表取得显示数据'
SPIDISP.S(39): error: constant expression expected -- `ldr R0,=IO0CLR//HC595_CS=0'
SPIDISP.S(42): error: bad expression -- `bl MSEND_DAT//发送显示'
SPIDISP.S(43): error: constant expression expected -- `ldr R0,=IO0SET//HC595_CS=1'
SPIDISP.S(47): error: bad expression -- `bl DELAYS//软件延时'
SPIDISP.S(55): error: bad instruction `disp_tab DCD 0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90'
SPIDISP.S(56): error: bad instruction `dcd 0x88,0x83,0xC6,0xA1,0x86,0x8E'
SPIDISP.S(57): warning: partial line at end of file ignored
Target not created
Build target 'Target 1'
assembling Startup.s...
assembling SPIDISP.S...
SPIDISP.S: Assembler messages:
SPIDISP.S(0): warning: end of file in multiline comment
SPIDISP.S(8): error: bad expression
SPIDISP.S(8): warning: division by zero
SPIDISP.S(8): warning: rest of line ignored; first ignored character is `P'
SPIDISP.S(16): error: constant expression expected -- `ldr SP,=0x40003F00//设置堆栈指针SP'
SPIDISP.S(17): error: constant expression expected -- `ldr R0,=PINSEL0//设置SPI0接口有效'
SPIDISP.S(23): error: constant expression expected -- `ldr R0,=IO0DIR//设置HC595片选控制口为输出'
SPIDISP.S(27): warning: rest of line ignored; first ignored character is `/'
SPIDISP.S(30): error: garbage following instruction -- `str R1,[R0,#0x0C]//S0PCCR=0x52,设置SPI时钟'
SPIDISP.S(32): error: garbage following instruction -- `str R1,[R0]//S0PCR=0x30,设置SPI接口模式,MSTR=1,CPOL=1,CPHA=0,LSBF=0'
SPIDISP.S(34): warning: rest of line ignored; first ignored character is `/'
SPIDISP.S(36): error: bad instruction `main_loop MOV R5,#0'
SPIDISP.S(37): error: bad instruction `main_loop1 LDR R2,[R4,R5,LSL#2]//查表取得显示数据'
SPIDISP.S(39): error: constant expression expected -- `ldr R0,=IO0CLR//HC595_CS=0'
SPIDISP.S(42): error: bad expression -- `bl MSEND_DAT//发送显示'
SPIDISP.S(43): error: constant expression expected -- `ldr R0,=IO0SET//HC595_CS=1'
SPIDISP.S(47): error: bad expression -- `bl DELAYS//软件延时'
SPIDISP.S(55): error: bad instruction `disp_tab DCD 0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90'
SPIDISP.S(56): error: bad instruction `dcd 0x88,0x83,0xC6,0xA1,0x86,0x8E'
SPIDISP.S(57): warning: partial line at end of file ignored
Target not created
Build target 'Target 1'
assembling Startup.s...
assembling SPIDISP.S...
SPIDISP.S: Assembler messages:
SPIDISP.S(0): warning: end of file in multiline comment
SPIDISP.S(9): error: bad expression
SPIDISP.S(9): warning: division by zero
SPIDISP.S(9): warning: rest of line ignored; first ignored character is `P'
SPIDISP.S(17): error: constant expression expected -- `ldr SP,=0x40003F00//设置堆栈指针SP'
SPIDISP.S(18): error: constant expression expected -- `ldr R0,=PINSEL0//设置SPI0接口有效'
SPIDISP.S(24): error: constant expression expected -- `ldr R0,=IO0DIR//设置HC595片选控制口为输出'
SPIDISP.S(28): warning: rest of line ignored; first ignored character is `/'
SPIDISP.S(31): error: garbage following instruction -- `str R1,[R0,#0x0C]//S0PCCR=0x52,设置SPI时钟'
SPIDISP.S(33): error: garbage following instruction -- `str R1,[R0]//S0PCR=0x30,设置SPI接口模式,MSTR=1,CPOL=1,CPHA=0,LSBF=0'
SPIDISP.S(35): warning: rest of line ignored; first ignored character is `/'
SPIDISP.S(37): error: bad instruction `main_loop MOV R5,#0'
SPIDISP.S(38): error: bad instruction `main_loop1 LDR R2,[R4,R5,LSL#2]//查表取得显示数据'
SPIDISP.S(40): error: constant expression expected -- `ldr R0,=IO0CLR//HC595_CS=0'
SPIDISP.S(43): error: bad expression -- `bl MSEND_DAT//发送显示'
SPIDISP.S(44): error: constant expression expected -- `ldr R0,=IO0SET//HC595_CS=1'
SPIDISP.S(48): error: bad expression -- `bl DELAYS//软件延时'
SPIDISP.S(56): error: bad instruction `disp_tab DCD 0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90'
SPIDISP.S(57): error: bad instruction `dcd 0x88,0x83,0xC6,0xA1,0x86,0x8E'
SPIDISP.S(58): warning: partial line at end of file ignored
Target not created
Build target 'Target 1'
assembling Startup.s...
assembling SPIDISP.S...
SPIDISP.S: Assembler messages:
SPIDISP.S(0): warning: end of file in multiline comment
SPIDISP.S(8): error: bad expression
SPIDISP.S(8): warning: division by zero
SPIDISP.S(8): warning: rest of line ignored; first ignored character is `P'
SPIDISP.S(16): error: constant expression expected -- `ldr SP,=0x40003F00//设置堆栈指针SP'
SPIDISP.S(17): error: constant expression expected -- `ldr R0,=PINSEL0//设置SPI0接口有效'
SPIDISP.S(23): error: constant expression expected -- `ldr R0,=IO0DIR//设置HC595片选控制口为输出'
SPIDISP.S(27): warning: rest of line ignored; first ignored character is `/'
SPIDISP.S(30): error: garbage following instruction -- `str R1,[R0,#0x0C]//S0PCCR=0x52,设置SPI时钟'
SPIDISP.S(32): error: garbage following instruction -- `str R1,[R0]//S0PCR=0x30,设置SPI接口模式,MSTR=1,CPOL=1,CPHA=0,LSBF=0'
SPIDISP.S(34): warning: rest of line ignored; first ignored character is `/'
SPIDISP.S(36): error: bad instruction `main_loop MOV R5,#0'
SPIDISP.S(37): error: bad instruction `main_loop1 LDR R2,[R4,R5,LSL#2]//查表取得显示数据'
SPIDISP.S(39): error: constant expression expected -- `ldr R0,=IO0CLR//HC595_CS=0'
SPIDISP.S(42): error: bad expression -- `bl MSEND_DAT//发送显示'
SPIDISP.S(43): error: constant expression expected -- `ldr R0,=IO0SET//HC595_CS=1'
SPIDISP.S(47): error: bad expression -- `bl DELAYS//软件延时'
SPIDISP.S(55): error: bad instruction `disp_tab DCD 0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90'
SPIDISP.S(56): error: bad instruction `dcd 0x88,0x83,0xC6,0xA1,0x86,0x8E'
SPIDISP.S(57): warning: partial line at end of file ignored
Target not created
Build target 'Target 1'
assembling Startup.s...
assembling SPIDISP.S...
SPIDISP.S: Assembler messages:
SPIDISP.S(0): warning: end of file in multiline comment
SPIDISP.S(16): error: constant expression expected -- `ldr SP,=0x40003F00//设置堆栈指针SP'
SPIDISP.S(17): error: constant expression expected -- `ldr R0,=PINSEL0//设置SPI0接口有效'
SPIDISP.S(23): error: constant expression expected -- `ldr R0,=IO0DIR//设置HC595片选控制口为输出'
SPIDISP.S(27): warning: rest of line ignored; first ignored character is `/'
SPIDISP.S(30): error: garbage following instruction -- `str R1,[R0,#0x0C]//S0PCCR=0x52,设置SPI时钟'
SPIDISP.S(32): error: garbage following instruction -- `str R1,[R0]//S0PCR=0x30,设置SPI接口模式,MSTR=1,CPOL=1,CPHA=0,LSBF=0'
SPIDISP.S(34): warning: rest of line ignored; first ignored character is `/'
SPIDISP.S(36): error: bad instruction `main_loop MOV R5,#0'
SPIDISP.S(37): error: bad instruction `main_loop1 LDR R2,[R4,R5,LSL#2]//查表取得显示数据'
SPIDISP.S(39): error: constant expression expected -- `ldr R0,=IO0CLR//HC595_CS=0'
SPIDISP.S(42): error: bad expression -- `bl MSEND_DAT//发送显示'
SPIDISP.S(43): error: constant expression expected -- `ldr R0,=IO0SET//HC595_CS=1'
SPIDISP.S(47): error: bad expression -- `bl DELAYS//软件延时'
SPIDISP.S(55): error: bad instruction `disp_tab DCD 0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90'
SPIDISP.S(56): error: bad instruction `dcd 0x88,0x83,0xC6,0xA1,0x86,0x8E'
SPIDISP.S(57): warning: partial line at end of file ignored
Target not created
Build target 'Target 1'
assembling Startup.s...
assembling SPIDISP.S...
SPIDISP.S: Assembler messages:
SPIDISP.S(0): warning: end of file in multiline comment
SPIDISP.S(17): error: constant expression expected -- `ldr R0,=PINSEL0//设置SPI0接口有效'
SPIDISP.S(23): error: constant expression expected -- `ldr R0,=IO0DIR//设置HC595片选控制口为输出'
SPIDISP.S(27): warning: rest of line ignored; first ignored character is `/'
SPIDISP.S(30): error: garbage following instruction -- `str R1,[R0,#0x0C]//S0PCCR=0x52,设置SPI时钟'
SPIDISP.S(32): error: garbage following instruction -- `str R1,[R0]//S0PCR=0x30,设置SPI接口模式,MSTR=1,CPOL=1,CPHA=0,LSBF=0'
SPIDISP.S(34): warning: rest of line ignored; first ignored character is `/'
SPIDISP.S(36): error: bad instruction `main_loop MOV R5,#0'
SPIDISP.S(37): error: bad instruction `main_loop1 LDR R2,[R4,R5,LSL#2]//查表取得显示数据'
SPIDISP.S(39): error: constant expression expected -- `ldr R0,=IO0CLR//HC595_CS=0'
SPIDISP.S(42): error: bad expression -- `bl MSEND_DAT//发送显示'
SPIDISP.S(43): error: constant expression expected -- `ldr R0,=IO0SET//HC595_CS=1'
SPIDISP.S(47): error: bad expression -- `bl DELAYS//软件延时'
SPIDISP.S(55): error: bad instruction `disp_tab DCD 0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90'
SPIDISP.S(56): error: bad instruction `dcd 0x88,0x83,0xC6,0xA1,0x86,0x8E'
SPIDISP.S(57): warning: partial line at end of file ignored
Target not created
Build target 'Target 1'
assembling Startup.s...
assembling SPIDISP.S...
SPIDISP.S: Assembler messages:
SPIDISP.S(0): warning: end of file in multiline comment
SPIDISP.S(36): error: bad instruction `main_loop MOV R5,#0'
SPIDISP.S(37): error: bad instruction `main_loop1 LDR R2,[R4,R5,LSL#2]'
SPIDISP.S(55): error: bad instruction `disp_tab DCD 0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90'
SPIDISP.S(56): error: bad instruction `dcd 0x88,0x83,0xC6,0xA1,0x86,0x8E'
SPIDISP.S(57): warning: partial line at end of file ignored
Target not created
Build target 'Target 1'
assembling Startup.s...
assembling SPIDISP.S...
SPIDISP.S: Assembler messages:
SPIDISP.S(0): warning: end of file in multiline comment
SPIDISP.S(57): warning: partial line at end of file ignored
linking...
spidisp.o(.text+0x54):/cygdrive/d/lecture/embed/ARM7实验手册配套光盘/LPC2100基础实验/SPI/asm/SpiDisp/SPIDISP.S:42: undefined reference to `MSEND_DAT'
spidisp.o(.text+0x64):/cygdrive/d/lecture/embed/ARM7实验手册配套光盘/LPC2100基础实验/SPI/asm/SpiDisp/SPIDISP.S:47: undefined reference to `DELAYS'
collect2: ld returned 1 exit status
Target not created
Build target 'Target 1'
assembling Startup.s...
assembling SPIDISP.S...
linking...
creating hex file...
"SpiDisp.elf" - 0 Error(s), 0 Warning(s).
</pre>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -