This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

About #define aa=DWORD[0x30]

If I

 #define aa=DWORD[0x30];
Can I treat aa as an integer number!

And if I
 #define aa=DBYTE[0x30];
Can I treat aa as an char number!

Thanks!

Parents
  • In all fairness (to Keil), however, the array/index characteristics of the 'WORD versions of these macros is noted in the C51 manual. My warning came about as a result of seeing the OP's use of the same index value when using both the 'BYTE and 'WORD macros.

Reply
  • In all fairness (to Keil), however, the array/index characteristics of the 'WORD versions of these macros is noted in the C51 manual. My warning came about as a result of seeing the OP's use of the same index value when using both the 'BYTE and 'WORD macros.

Children
No data