Greg Hoover schrieb:
I'm working on an emulator of sorts for the msp430x1611 target. I've built a few test cases of `hello world' using builtin versus stdio

what are "builtin" calls? are you really talking of mspgcc?

calls. An example using `puts' works fine, however calls to `printf' fail. After looking at the compiled source I've found that the program calls address 1102, but nothing is ever written to these addresses -- actually a value is written to 1102 but nothing after that. The result is that the emulator runs into invalid program code. Any enlightenment would be much appreciated.

with the libC from mspgcc, you have to implement your own putchar function and that is called by puts and printf. fi you dont provide the putchar function you'll run into linker errors...

chris

Reply via email to