- This topic has 0 replies, 1 voice, and was last updated 9 years, 12 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › Understan instruction!
Hi everybody!!!!!
I’m new in this forum nice to meet you too!!!!!
I’m try to understand a kind of instructions for my 8052 platform ( I program an ADUC836 Analog/Devices ) and i wanted top know if you could give me some help!!!
The instructions it’s an access inside the EE/Flash with the EDATA1 – EDATA4 sfr register and it’s the follow:
data int variable;
EDATA1 = *( (unsigned char data *) ( &variable ) );
EDATA2 = *(((unsigned char data *) (&variable) ) +1);
What we try to do with this statement?
Thank you everybody!!!