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

How to Read/Write sequential data from/into a Memory

Dear All,
I'm really new for 8051 programming. I coding with C and I've a structure variable below,

typedef struct PERSON_ST{
int ID;
char Name[10];
char Age;
};

struct PERSON_ST person;

I want to store this data for 100 records. I don't know how to read/write a sequential data from/into a volatile memory. Do you have any suggestion?

Thank you for any answers.

Nat.

Parents
  • Golly, this is so obviously (being a basic C issue) not a question specific to 8051's or Keil tools, that I have to suspect that you are trying to solicit an answer for some kind of homework. Even the structure members "smell" of homework.

Reply
  • Golly, this is so obviously (being a basic C issue) not a question specific to 8051's or Keil tools, that I have to suspect that you are trying to solicit an answer for some kind of homework. Even the structure members "smell" of homework.

Children