Searching \ for 'Re : Newbie Questions' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/index.htm?key=
Search entire site for: 'Newbie Questions'.

Truncated match.
PICList Thread
'Re : Newbie Questions'
1994\12\06@154316 by crocontroller discussion list

flavicon
face
> > 1.  In a file TUTOR.ASM, constants are preceded by a period e.g.
> >
> >      movlw .5
> >   moves a value of 5 to w.  What is the period for?
>
> '.' = Decimal

       I have thus far only used the Parallax assembler for a 16C57.  I am
surprised to see this reference to a fractional number...(0.5 I assume).
Does this really refer to the value of 0.5?  How is this stored in
the w register???

Thanks,

Martin Kirk
spam_OUTmlkTakeThisOuTspamasu.edu

1994\12\07@051150 by crocontroller discussion list

flavicon
face
> > > 1.  In a file TUTOR.ASM, constants are preceded by a period e.g.
> > >
> > >      movlw .5
> > >   moves a value of 5 to w.  What is the period for?
> >
> > '.' = Decimal
>
>         I have thus far only used the Parallax assembler for a 16C57.  I am
> surprised to see this reference to a fractional number...(0.5 I assume).
> Does this really refer to the value of 0.5?  How is this stored in
> the w register???
>
> Thanks,
>
> Martin Kirk
> .....mlkKILLspamspam@spam@asu.edu
>
It represent decimals 5, not a half. Just a method of distinguishing
between hex, octal and decimal.

                                               -Alasdair

[ The opinions expressed are my own and are therefore undeniably correct ]
[ beyond a shadow of a doubt.                                            ]

Alasdair MacLean, University of Edinburgh, Dept. of Artificial
Intelligence, 5 Forrest Hill, Edinburgh, EH1 2QL
tel. (+44) 0131 650 4497        fax. 0131-650-6899
email alasdairspamKILLspamaifh.ed.ac.uk
http://www.dai.ed.ac.uk:80/staff/personal_pages/alasdair

More... (looser matching)
- Last day of these posts
- In 1994 , 1995 only
- Today
- New search...