#define _rrca_() CY = ACC & 0x01 //产生RRC A指令 #define _rlca_() CY = ACC & 0x80 //产生RLC A指令 ACC & 0x01 的结果怎么能赋值给CY呐? for(cycle = 8; cycle > 0; cycle-- ) {
//bADcl = 0;//pulse bADcl = 1; CY = bADda; _rlca_(); //RRC A bADcl = 0;//pulse } data1= ACC; 怎么能实现循环左移或右移 我很是费解希望高手指点 |