Re: A92: Question


[Prev][Next][Index][Thread]

Re: A92: Question




Noah S Zoschke wrote:
> 
> I am making a program, and I was womdering...
> I have the number 64 stored in "number"
> 
> number          dc.b    46
> 
> and I was wondering how I could change the value of that from within the
> program...  I am sure that I am not doing something easy...  thanks

Simple! A few examples:

	move.b		#5,number
	move.b		d3,number
	move.b		number,(a5)+

Note that the space for "number" is allocated within the program, so if
you change it, quit the program and the restart it, the same value will
still be there.


References: