Re: A89: Starting out assembly, need help


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

Re: A89: Starting out assembly, need help




In a message dated 12/1/98 12:15:25 AM Eastern Standard Time,
assets@eden.rutgers.edu writes:

> xCoordinate    equ    $5800
>  
>  then you would access it like this:
>  
>   move.w a1,xCoordinate
>  
>  on the other hand, if you defined xCoordinate in your code using a label
and
>  dc.w, then you would be changing an area of user memory that is occupied by
>  your program; you would access it w/ relative addressing:
>  
>  move.w a1,xCoordinate(pc)

aren't the operands supposed to be switched?