也是高手告诉我的方法: /************************************************ 数组存放的是 FSTAT|=0x80; while(!(FSTAT & 0x80)); 这段代码的机器码 ************************************************/ uchar P[18] = {0x18,0x0B,0x80,0x01,0x05,0xF6,0x01,0x05,0x87, 0x87,0xC4,0x40,0x8C,0x00,0x00,0x27,0xF4,0x3D}; uchar PrgOfRam[18]; for (i=0; i<18; i++) PrgOfRam = P; asm("JSR PrgOfRam"); //在RAM中执行程序 |