FictionTools/z88dk/src/z80asm/directives.c
/*-----------------------------------------------------------------------------
*   LABEL: define a label at the current location
*----------------------------------------------------------------------------*/
define a label at the current location
define a label at the current location
void asm_LABEL_offset(const char *name, int offset)
{
	Symbol *sym;
	if (get_phased_PC() >= 0)
		sym = define_symbol(name, get_phased_PC() + offset, TYPE_CONSTANT);
	else
		sym = define_symbol(name, get_PC() + offset, TYPE_ADDRESS);
	sym->is_touched = true;
}
void asm_LABEL_offset ( const char * name , int offset ) { Symbol * sym ; if ( get_phased_PC ( ) >= 0 ) sym = define_symbol ( name , get_phased_PC ( ) + offset , TYPE_CONSTANT ) ; else sym = define_symbol ( name , get_PC ( ) + offset , TYPE_ADDRESS ) ; sym -> is_touched = true ; }
LABEL: define a label at the current location
LABEL : define a label at the current location