0
    AREA    REL,PIC,READONLY,ALIGN=4

    EXPORT text
    EXPORT txttbl

NML EQU 1
ABNRHY EQU 2
BO EQU 4
ABN EQU 8

text
base

snf DCW 1
    DCB 0
    DCB "   ",0
    DCB "",0
    ALIGN   1
spedanl DCW 2
    DCB 0
    DCB "** *  * **",0
    DCB "",0
    ALIGN   1
sagspami    DCW 3
    DCB 0
    DCB "***   ***",0
    DCB "",0
    ALIGN   1
stwlvw  DCW 6
    DCB 0
    DCB "   ",0
    DCB "",0
    ALIGN   1
ssr DCW 19
    DCB NML
    DCB " ",0
    DCB " ",0
    ALIGN   1
sarat   DCW 20
    DCB 0
    DCB " ",0
    DCB "",0
    ALIGN   1

    ALIGN   2
txttbl
    DCW spedanl-base,sagspami-base,stwlvw-base,ssr-base,sarat-base
    DCW snf-base

    END

这是我的 .src 文件,我的编译器选项是带有标志 -c -fmessage-length=0 -fno-asm 和 assembler flags-c -x assembler-with-cpp 的 arm-none-eabi-gcc。我得到每行代码的错误错误指令,该项目在 C build for arm cortex m7

4

0 回答 0