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

Using C structs in assembly files

I'd like to declare a struct in a C51 file and access members of the struct in an assembly (A51) file. Is there an easy way to do this?

I can declare the name of the struct as "extrn" in the assembly file, but how do I get the offsets of the struct members into the assembly file?

-dean

0