Re: A89: Starting out assembly, need help


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

Re: A89: Starting out assembly, need help




-----Original Message-----
From: Daniel7073@aol.com <Daniel7073@aol.com>
To: assembly-89@lists.ticalc.org <assembly-89@lists.ticalc.org>
Date: Tuesday, December 01, 1998 10:35 PM
Subject: Re: A89: Starting out assembly, need help


>In a message dated 12/01/1998 7:05:50 PM Pacific Standard Time,
>TurboSoft@aol.com writes:
>
>> so where is a good $xxxx number to start storing data in an asm program?
>
>You don't need to worry about it.  You define a variable like this:
>
>var dc.b 5
>
>This creates a one byte variable called var containing the number 5.  It is
>stored in your program.
>You would access var like this:
>move.b 30, pc(var)
>I'm pretty sure this is how it works.  You can look in some earlier
>discussions for how the letters pc and the parentheses work.
>
>Daniel Imfeld

I think that the pc is supposed to be in the parenthesis:

move.b #30, var(pc)

-Miles Raymond