请教各位大侠,在C51中这样的位操作 uchar bdata transdata; sbit transbit7 = transdata^7; sbit transbit6 = transdata^6; sbit transbit5 = transdata^5; sbit transbit4 = transdata^4; sbit transbit3 = transdata^3; sbit transbit2 = transdata^2; sbit transbit1 = transdata^1; sbit transbit0 = transdata^0;
在AVR中如何实现?
|