This wiki is being migrated to http://www.github.com/z88dk/z88dk/wiki

User Tools

Site Tools


usage:symnames

Translation of C Names to ASM Names (Accessing C Variables from z80 Asm)

Example

#include "stdio.h"

extern char mydata[];

#asm
._mydata
 defm	"This is a string"
 defb	0 ; String termination
#endasm

main()
{
  printf("%s",mydata);

}


usage/symnames.txt · Last modified: 2007/10/23 11:18 (external edit)