Searching \ for 'Good old friend... W' 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=good+old+friend
Search entire site for: 'Good old friend... W'.

Truncated match.
PICList Thread
'Good old friend... W'
2000\05\17@074547 by Samuel Ace Winchenbach

flavicon
face
Howdy,

Am I mistaken or is W an 8 bit register?

I try to do the following:

MOVLW   250

And get the warning:

Warning[202] C:\WINDOWS\DESKTOP\LED.ASM 60 : Argument out of range.  Least
significant bits used.


It does this for any litteral over 99.
MOVLW   99      ;Works Fine
MOVLW   100     ;Bad.

Maybe it is just another MPLAB quirk thing...  they really are annoying to
the beginner though, I keep thinking that I am doing something wrong.

2000\05\17@074751 by Midgley John

flavicon
face
Radix set to hex, not decimal?

{Quote hidden}

2000\05\17@075210 by Samuel Ace Winchenbach

flavicon
face
<snip>
>Radix set to hex, not decimal?

Oh thank you... that works much better now.  I didn't even know about that.
I must go read up on Radix now =P

Thanks Again

2000\05\17@075218 by Andy Baker

flavicon
face
Sounds to me like  your default radix is set to hexadecimal:

0x99 = decimal 153, which fits in 8 bits
0x100 = decimal 256, which doesn't.

Put:

       radix dec

at the top of your assembler to get it to read unformatted numbers in
decimal.

Andy

{Original Message removed}

2000\05\17@094404 by Ismael M. Khangane

flavicon
face
Hi Midgley:
Try this:
radix dec
....
movlw    .250        ; This will know it's decimal as a point signify decimal
number.

Midgley John wrote:

> Radix set to hex, not decimal?
>
> >{Original Message removed}

2000\05\17@115202 by Larry G. Nelson Sr.

flavicon
face
Check to see if default radix is hex or decimal. Hex would fail but decimal
would work ok.

At 07:44 AM 5/17/00 -0400, you wrote:
{Quote hidden}

Larry G. Nelson Sr.
L.NelsonspamKILLspamieee.org
http://www.ultranet.com/~nr

2000\05\17@133443 by rleggitt

picon face
Change default radix from hex to decimal :)

On Wed, 17 May 2000, Samuel Ace Winchenbach wrote:

{Quote hidden}

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