Project : TEST
Install : mspgcc-20050422.exe (32-bit Windows)
Files:
makefile
main.c
test.c
hardware.h
The returned size of the structure is not good !
Thanks for help, Thierry Le Naour
Part of aout.lst:
-----------------
0000c040 <Get_sizeof_Test_struct>:
c040: 3f 40 12 00 mov #18, r15 ;#0x0012 ; returned value = 18
c044: 30 41 ret
0000c046 <main>:
c046: 31 40 00 04 mov #1024, r1 ;#0x0400
c04a: 32 d2 eint
c04c: b0 12 40 c0 call #-16320 ;#0xc040 ; call #Get_sizeof_Test_struct
c050: fd 3f jmp $-4 ;abs 0xc04c
c052: 30 40 56 c0 br #0xc056 ;
hardware.h
Description: Binary data
makefile
Description: Binary data
main.c
Description: Binary data
test.c
Description: Binary data
