Thanks. So there is no way of initializing it this way but without making it constant?
.com files usually has this information saved in the file itself and when they are loaded prior to execution, the variables are already initialized this way. I know I can do this in assembler, because I have already done it, and made the variables also global, but now I intent to do in .c source file because of some needs. The only workaround I find is declaring them as external and then create an asm file that define them as global and already initialized the way I want, but this is a little ugly. If there is any other idea I would appreciate it. Thanks again. ____________________________________________________________________________________ Sé un Mejor Amante del Cine ¿Quieres saber cómo? ¡Deja que otras personas te ayuden! http://advision.webevents.yahoo.com/reto/entretenimiento.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user