number of virtual 设置16,程序正常运行,设置8烧录没反应。
Susan Yang:
您可以看一下IAR给出的说明
You must also allocate the data memory space required for the virtual registers in the linker command file by setting the constant _NR_OF_VIRTUAL_REGISTERS to the same number of registers as set by the –nr_virtual_regs compiler option.
链接如下 netstorage.iar.com/…/EW8051_CompilerReference.pdf第70页