The BASIC Stamp is integer based, but does have two operators that may help: */ and **. In short, */ multiplies by fractional values expressed in units of 1/256, while ** multiplies by fractional values of 1/65536 -- but both return integer results.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Jon Williams Applications Engineer, Parallax
Hy paul, again i thank you for your help before(measurement of mA with oscilloscope).
About your intervention of today, please remember than microprocessor(and microcontroller) are based on binary calculation
The only way to create a floating point whit thi kind of calculator is the use of flag, register and the ability of boolean calculation to invert a multiplication in to a division(and vice versa).
At this day i've not yet experimented that whit a Stamp but if you remember before( at least 30 years ago) its wha the same in assembly language with the ZILOG Z80 for sample.
To day, unfortunatelly, they are not so much people who's are using this kind of langage.
By sample:
To day you got 1
Tomorrow 1 again
TOTAL for everybody=2
Wrong: Total = 3 because in boolean application you give a historical signification to the older one.
Actually they said: most significant bit, lower significant bit.
Enjoy than you can apply this rule whith a stamp??
Let me know
michel.dechief@skynet.be
ps: sorry again for my bad aknowledgement in english(parlez vous fran
The floating point coprocessor deals with IEEE floating point numbers which are 32 bit quantities subdivided into the mantissa and exponent each with an associated sign, all the details of performing a mathmatical operation are hidden from the user. It also provides conversion functions to allow easier manipulations of numbers on a non-floating point master processor.
Nice your answer,
Remember only than a microprocessor stay a microprocor.
May be a 8 bit, 16 bit, 32 or why not 256 .
Its possible for me to send you sample for diverse formulation of binary counting.
To be kick and also because it's time for me to go to sleep(belgium time:00.28 at night) i would to explend you the transfer of bit from a byte to another.for this you have to know how s working your microprocessor.
How many flags available, how many register are free, witch kind of memory(dinamic, as ram or eeprom you dispose).
At first, select a number as decimal; by sample: 256
secondly give a lok to the same number on to a 8 bit :11111111
Ok i'm sure you know that.
no, give a look to a decimal number like : 0
Where is a floating point and what i s this number on to binary: 00000000
Do the addition of the two first number in to binary calculation:
11111111
00000000
11111111
modify to d
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·1+1=10
About your intervention of today, please remember than microprocessor(and microcontroller) are based on binary calculation
The only way to create a floating point whit thi kind of calculator is the use of flag, register and the ability of boolean calculation to invert a multiplication in to a division(and vice versa).
At this day i've not yet experimented that whit a Stamp but if you remember before( at least 30 years ago) its wha the same in assembly language with the ZILOG Z80 for sample.
To day, unfortunatelly, they are not so much people who's are using this kind of langage.
By sample:
To day you got 1
Tomorrow 1 again
TOTAL for everybody=2
Wrong: Total = 3 because in boolean application you give a historical signification to the older one.
Actually they said: most significant bit, lower significant bit.
Enjoy than you can apply this rule whith a stamp??
Let me know
michel.dechief@skynet.be
ps: sorry again for my bad aknowledgement in english(parlez vous fran
Ma seulement compr
Remember only than a microprocessor stay a microprocor.
May be a 8 bit, 16 bit, 32 or why not 256 .
Its possible for me to send you sample for diverse formulation of binary counting.
To be kick and also because it's time for me to go to sleep(belgium time:00.28 at night) i would to explend you the transfer of bit from a byte to another.for this you have to know how s working your microprocessor.
How many flags available, how many register are free, witch kind of memory(dinamic, as ram or eeprom you dispose).
At first, select a number as decimal; by sample: 256
secondly give a lok to the same number on to a 8 bit :11111111
Ok i'm sure you know that.
no, give a look to a decimal number like : 0
Where is a floating point and what i s this number on to binary: 00000000
Do the addition of the two first number in to binary calculation:
11111111
00000000
11111111
modify to d