// 使用 hi-tech picc V9.50 COMPILER bank2 unsigned int lrn_res[40]; unsigned int *ptr; unsigned char *inc_ptr, i,j; if(............)
*(res_lrn+*inc_ptr) = lrn_res; //這一行執行後 STATUS 裡的 IRP=1,指向索引 BANK2
asm("bcf status,7"); //但是我中間嵌入一條組合語言,要將 STATUS 的 IRP=0 但compiler 卻不將這行編譯進去,因為使用手冊也有提到 IF 或 WHILE DO 裡面不能放組合語言,不曉得為什麼,但又不曉得如何用 C statements 將 STATUS 的 IRP 設定回 導致下一行執行時產生錯誤