unsigned long in spin
Jkane
Posts: 113
Hello,
I was curious on how to create an unsigned long variable in spin, 0 - 4294967296, I see that you can do it in pasm, but was looking for something in spin.
regards
Jeff
I was curious on how to create an unsigned long variable in spin, 0 - 4294967296, I see that you can do it in pasm, but was looking for something in spin.
CON _clkmode = xtal1 + pll16x _xinfreq = 5_000_000 'Set to standard clock mode and frequency (80 MHz) VAR long a_signed_long a signed long -2147483647 -> 2147483648 unsigned_long a_unsigned_long '0 -> 4294967296 byte a_byte word a _word [SIZE=3] PUB Main repeat unsigned_long from 0 to 4294967296 prt.dec(unsiged_long [/SIZE]
regards
Jeff
Comments
-Phil