LF: Re: Lf: dc.w command


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

LF: Re: Lf: dc.w command




>ok I don't know 68k ASM but im trying to learn it (arn't we all)
>but here is my question.... what exactly does dc.w do and what does it
>mean.. also are there any variations of that command (like dc.x or 
>somthing?)
>David Lee
>davidlee@itis.com

The DC (define constant) directive is used to assemble particular values
into memory locations.  It, as most other commands uses the three size
specifiers, B,W, and L.  If dc.w or dc.l is used then the final Word or
Long word will be 'padded' with zero bytes.

hope this helps...

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Down the bus, out the modem, over the line... nothin' but net.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Stephen Grigg         [grigg@juno.com]


References: