bug663539.c

来自「sdcc是为51等小型嵌入式cpu设计的c语言编译器支持数种不同类型的cpu」· C语言 代码 · 共 22 行

C
22
字号
/*   bug663539.c*/#include <testfwk.h>#if defined (SDCC_ds390) || defined (SDCC_mcs51)  volatile xdata at 0x7654 char x;#endifvoidtest_volatile(void){  ASSERT (1);#if defined (SDCC_ds390) || defined (SDCC_mcs51)  x;         //this should end the simulation  while (1); //let the "watchdog" bite#endif}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?