From: David L. <yak...@ya...> - 2007-09-30 18:32:45
|
I am using SDCC to program a z80 machine. When I create this code: unsigned char test = 0; It is assembled as follows: ld iy,#_test ld 0(iy),#0x00 But I would like that it could be initialized as its done in assembler: test: .db 0 Is there any way of forcing this behavior? Thanks. ____________________________________________________________________________________ Sé un Mejor Amante del Cine ¿Quieres saber cómo? ¡Deja que otras personas te ayuden! http://advision.webevents.yahoo.com/reto/entretenimiento.html |