'32 bit int s'
As Far As I Know, there are no built-ins for 32 bit math in CCS.
Look at MATH.C in the examples for some inline assembly routines
which work as long as you are in bank 0 or 1 RAM.
Lucky me, I am debugging 32 bit and 48 bit math for the general case
(variables in Bank 2 and 3 also).
Does Hi-Tech support 32 bit int as a built in type ?!!
Barry King, KA1NLH
NRG Systems "Measuring the Wind's Energy"
Hinesburg, Vermont, USA
"The witty saying has been deleted due to limited EPROM space"
I was using 32 bit ints with no problem in hi-tech, just had to make sure I
placed them in a spot I had room. (banks)
unsigned long is a 32bit int in Hi-tech
Jason Van Dellen
Electronic Proving Technology
ICQ # 14180767
CCS does have 32 bit Floating Point. I'm not sure about 32 bit
integer math though.
More... (looser matching)
- Last day of these posts
- In 1999
, 2000 only
- New search...