Hi All, I am using AT89s8252,to reset the Watch Dog timer I am using the cmd(all in vain)
setb WDTEN_
#define WDTEN_ 0x01 #define WDTRST_ 0x02 . . .
Without bit-addressability (which is a Keil extension and not part of ANSI 'C') you will have to use the standard ANSI 'C' approach of using mask values on the whole byte. The #defines you mentioned sound like mask values? ie, 0x01 is bit 0; 0x02 is bit 1.