I have an array of structure defined in C language. And I want to copy one of system register onto structure element.
I am writing the assembly code, using __asm block in C itself. Since, do not know the syntax of structre of in Assmebly. For example, I want to move content of DS register to structure element.
So can anybody tell me, how to write code for that.
I tried
__asm mov structurename[0].member,DS
but did not work.
Otherwise, how to write same code in C?
I am using VC++ 6.0 compiler.
Faster responce is appreciated.
Thanks,
Al