Macro

answerme's Avatar, Join Date: Dec 2007
Ambitious contributor
Iam facing one problem.A Macro INIT_ON whose value is

Code:
#define	INIT_ON 	(*((unsigned char *)0x70060000) & 0x80)
what is this value doing
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
The only thing that can be wrong is its not working as you expect. What you expect is a million dollar question?
answerme's Avatar, Join Date: Dec 2007
Ambitious contributor
Dear shabbir
I just want to know what does this means

(*((unsigned char *)0x70060000) & 0x80)
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Bitwise Anding both the numbers and type casting them to unsigned char *.

And of 0x70060000 & 0x80000000
Then type cast it