> Thanks very much,
>
> I forgot to ask, is it assumed to 1 byte in memory, or is this
> something for each processor?
>
>
> for
> 0x20
> and
> 0x21
>
> is 0x21 1 byyte away from 0x20 ?
>
>
> ----- Original Message -----
> From: "Jeff Johnson" <
EraseMEj3ffjspam_OUT
TakeThisOuTYAHOO.COM>
> To: <
PICLIST
spam_OUTMITVMA.MIT.EDU>
> Sent: 15 April, 2001 20:40
> Subject: Re: [pic]: beginning assembly question
>
>
> > > what are these equate statements doing?
> > >
> > > Is this assigning the var labels to positions in
> > > memory or
> > > setting aside memory space, or what?
> > >
> > > ; VARIABLE DECLARATION
> > >
> > > TEMPW EQU 0x20
> >
> > Yes. This is assigning a label to an address in
> > memory. This allows you to write your code as
> >
> > movf TEMPW,W ;load W with contents of
> > address 20
> >
> > instead of the more cumbersome
> >
> > movf 0x20,W
> >
> > or assigning a value to a label
> >
> > movlw TEMPW ;load W register with value
> > assigned to TEMPW
> >
> > such that whenever the assembler sees the label, it
> > substitutes the equated value at build time.
> >
> > Jeff Johnson
> >
http://home.dialix.com/~u2263/index.htm
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Get email at your own domain with Yahoo! Mail.
> >
http://personal.mail.yahoo.com/
> >
> > --
> >
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
> > email
@spam@listservKILLspam
mitvma.mit.edu with SET PICList DIGEST in the body
> >
> >
>
> --
>
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
> email
KILLspamlistservKILLspam
mitvma.mit.edu with SET PICList DIGEST in the body
>
>