冷漠大侠: 定义表格如下: 放入单独C文件中 U8 code tab[]= { 0xC6,0xA2,0x0E,0xC8,0x00,0x0B, 0xC6,0xA2,0x17,0xC8,0x00,0x08, 0xC6,0xA2,0x10,0xC8,0x00,0x50, 0xC6,0x22,0x2F,0xC8,0x00,0x9A, 0xFF }; 编译器插入命令: ?CO?tab(0X2E00)
编译结果: assembling .outputmain.src... linking... *** ERROR L110: CANNOT FIND SEGMENT SEGMENT: ?CO?TAB Program Size: data=96.1 xdata=0 code=2762 Target not created
回复elife大侠 定义表格如下: 放入单独C文件中 asm.c U8 code tab[]= { 0xC6,0xA2,0x0E,0xC8,0x00,0x0B, 0xC6,0xA2,0x17,0xC8,0x00,0x08, 0xC6,0xA2,0x10,0xC8,0x00,0x50, 0xC6,0x22,0x2F,0xC8,0x00,0x9A, 0xFF }; 加入命令:?CO?asm(0X2E00) 编译结果: assembling .outputmain.src... linking... *** ERROR L110: CANNOT FIND SEGMENT SEGMENT: ?CO?ASM Program Size: data=96.1 xdata=0 code=2762 Target not created
回复书生大侠: 定义表格如下: 放入单独C文件中 asm.c U8 code tab[]= { 0xC6,0xA2,0x0E,0xC8,0x00,0x0B, 0xC6,0xA2,0x17,0xC8,0x00,0x08, 0xC6,0xA2,0x10,0xC8,0x00,0x50, 0xC6,0x22,0x2F,0xC8,0x00,0x9A, 0xFF }; 加入命令:*asm(0X2E00) 编译结果:
assembling .outputmain.src... linking... *** ERROR L130: NO MATCHING SEGMENT FOR WILDCARD SEGMENT NAME SEGMENT: *ASM Program Size: data=96.1 xdata=0 code=2762 Target not created
上面是我试验的结果,文件名字,表格名字大小写都试过了。 是不是我哪里设置还不正确。 |