A few tweaks to scrounge some resources back
Test var byte[3] SYSTEM
Dividend var byte[6] SYSTEM
Remainder var byte[3] SYSTEM ; 24 bit remainder from 1000000 division...
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,...
PIC16F1454 Connecting To USB Doesn't Work
Hi,
rsocor01 Today, 02:44Has anybody tried to make a USB project with a PIC16F chip? I'm trying to make the PIC16F1454 work with USB, but I'm getting this error from PBP3 "USBIN/USBOUT/USBINIT/USBSERVICE commands not...