gnupic: Rep:Allocating addresses for variables


Previous by date: 20 Nov 2001 17:46:55 -0000 Rep:Allocating addresses for variables, cnieves.iespana.es
Next by date: 20 Nov 2001 17:46:55 -0000 gpasm-extra, Craig Franklin
Previous in thread: 20 Nov 2001 17:46:55 -0000 Rep:Allocating addresses for variables, cnieves.iespana.es
Next in thread:

Subject: Re: Rep:Allocating addresses for variables
From: ####@####.#### (Byron A Jeff)
Date: 20 Nov 2001 17:46:55 -0000
Message-Id: <200111201745.MAA00528@cleon.cc.gatech.edu>

> 
> Hi,
> I reserve variables using cblock. For example:
> 
>  cblock
> VARIABLE1: 1
> VARIABLE2: 1
> VARIABLE3: 1
> VARIABLE4: 1
>  endc

In addition the CBLOCK directive allows you to specify a starting address:

	cblock	0x20
	var1
	var2
	var3
	var4
	endc

The next CBLOCK will resume where the last one left off if no address is
specified.

I find them invaluable for automatic variable address allocation.

BAJ

Previous by date: 20 Nov 2001 17:46:55 -0000 Rep:Allocating addresses for variables, cnieves.iespana.es
Next by date: 20 Nov 2001 17:46:55 -0000 gpasm-extra, Craig Franklin
Previous in thread: 20 Nov 2001 17:46:55 -0000 Rep:Allocating addresses for variables, cnieves.iespana.es
Next in thread:


Powered by ezmlm-browse 0.20.