Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/23/02 10:09
Read: times


 
#31281 - RE: Float Math Source
Hi Mike,

the whole range of my frequency meter was 10.00Hz ... 125.00MHz.
I solved the neeeded calculations with expanding the integer math functions in this way:

multiplication: 56bit * 24bit = 56bit
division: 56bit / 24bit = 56bit

Some assembler support 32 bit numbers.
Then it was easy to deal with big numbers, e.g. the reference crystal of 10,000,000.00Hz can be represented as:

xtal equ 1000000000

db 000h, 000h, 000h, byte4(xtal), byte3(xtal), high(xtal), low(xtal)



Peter


List of 11 messages in thread
TopicAuthorDate
Float Math Source            01/01/70 00:00      
RE: Float Math Source            01/01/70 00:00      
RE: Float Math Source            01/01/70 00:00      
RE: Float Math Source            01/01/70 00:00      
RE: Float Math Source            01/01/70 00:00      
RE: Float Math Source            01/01/70 00:00      
RE: Float Math Source            01/01/70 00:00      
RE: Float Math Source            01/01/70 00:00      
RE: Float Math Source            01/01/70 00:00      
RE: Float Math Source            01/01/70 00:00      
RE: Float Math Source            01/01/70 00:00      

Back to Subject List