Tuesday, March 28, 2006

memory locations

I thought that it would be worthwhile looking at the memory locations where data is stored.


variable:
&afm4_B.IaTimeHigh

in matlab:
3F9002

from ccs:
0x003F909D

variable:
&afm4_B.IaTimeLow

in matlab:
3F9003

from ccs:
0x003F909E

variable:
&afm4_B.IaFB

in matlab:
3F9010

from ccs:
0x003F909C





This is a little concerning as I will be reading the incorrect address.

Maybe that is not too much of a concern as there is some memory mapping going on. I will check by adding in a constant.

That works so the memory mapping must be correct.

0 Comments:

Post a Comment

<< Home