Date sent: Fri, 2 Jun 2000 10:49:05 +0200 Send reply to: pic microcontroller discussion list From: Nebelong Bjarne Subject: Re: [PIC] 12C508 OSCCAL value To: PICLIST@MITVMA.MIT.EDU Thanks to all who replied. The program is working fine now. Bill > The C70 should be read 0C70, giving: > Movlw 0x070 > > So your calibration value is 0x070 > > (0xC70 gives 3184 dec => argument out of range) > > /Bjarne > > > > -----Original Message----- > From: Bill Colville [mailto:wtc3@SUSCOM.NET] > Sent: Thursday, June 01, 2000 6:08 PM > To: PICLIST@MITVMA.MIT.EDU > Subject: [PIC] 12C508 OSCCAL value > > I am trying to program a 12C508/JW for the first time and when I > read the calibration value it shows C70. When I try to use 0xC70 in > MPASM it issues an error message saying " argument out of > range. least significant bits used". What should I be entering? > > Bill >