Thanks Nick,
As far as I can see the examples provided by Darrel in that thread has the same limitation as in "only" going to 655359999 which is "only" ~15% of the 32bit range.
In my case I really...
yes biggest num is 655359999
this does a divide by 100000 first in asm and will do rest in pbp to encompass the entire 32 bit signed range
#config CONFIG RETEN=OFF
CONFIG XINST = OFF...
Many years ago DT helped me with something similar
https://www.picbasic.co.uk/forum/showthread.php/24-Retrieving-32bit-Multiply-Result
Not sure if it might apply to your application.
Nick
No. My country adds a lot of import taxes so I select suppliers within European Union or Mouser that ships tax free.
May main suppliers are Mouser, TME, SOSelectronics and local resellers for...
Many years back, I solved the problem like this.
I have a variable Total defined as 4 bytes
In the routine that increments the total, I did it like this
Total var byte[4] '...
Thanks Richard,
I don't need to "do" anything with the value, "all" I need is to display it
ValueH = 12
ValueL = 45234
GOSUB Print32BitValue
Result: 831666
I tried your HourMeter aproach...
signed 32 bit divide here
or do it the easy way in C where its not an issue
Once I get my order and done some testing, I'll be in a better position to know what configuration of layers I'm going to need.
I'm always getting emails from PCB assembly suppliers from alibaba,...
I can get the price down a bit more by using another inductor:
Current: XAL1010-332MED by Coilcraft, $4.4191 x 5 = $22.10
Alternative: SRP1265A-3R3M by Bourns, $1.5387 x 5 = $7.70
That's a...
Re: Display 2 WORDs as a 32bit integer
A few tweaks to scrounge some resources back
richard Today, 00:59Test var byte[3] SYSTEM
Dividend var byte[6] SYSTEM
Remainder var byte[3] SYSTEM ; 24 bit remainder from 1000000 division...