Macro

Ambitious contributor
2Jan2008,09:42   #1
answerme's Avatar
Iam facing one problem.A Macro INIT_ON whose value is

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

(*((unsigned char *)0x70060000) & 0x80)
Go4Expert Founder
2Jan2008,19:16   #4
shabbir's Avatar
Bitwise Anding both the numbers and type casting them to unsigned char *.

And of 0x70060000 & 0x80000000
Then type cast it