> > > 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 > mlk@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 alasdair@aifh.ed.ac.uk http://www.dai.ed.ac.uk:80/staff/personal_pages/alasdair