Jump to content
ELFORUM - Forumul Electronistilor
Sign in to follow this  
Guest Marus_Rockeru

Rutine (+,-,/,*) pt. PIC pe 32bit cu virgula mobila :D

Recommended Posts

Guest Marus_Rockeru

Salut ! Are cineva o sursa cu rutine de adunare, scadere, inmultire, impartire pe 32biti cu virgula mobila ? Cum e tipul ala REAL in Pascal.Pentru PIC-uri d-astea simple pe 8 biti. gen : 16F84 , 16F628 , 16F73Dar ceva care folositi in prezent si stiti ca mrge ....ca asa sint destule pe net ...dar tre sa stai o luna sa corectezi la erori :supz:P.S. : si nu prea as vrea sa reinventez "roata" ... :crazy:

Share this post


Link to post
Share on other sites

Guest Marus_Rockeru

Dar o rutina de conversie din ZECIMAL (10 digiti ) in binar 32bit ?ceva de genu :ZECIMAL - nr " 1.234.567.890 "-------------byte0 = 00000001byte1 = 00000010byte2 = 00000011byte3 = 00000100byte4 = 00000101byte5 = 00000110byte6 = 00000111byte7 = 00001000byte8 = 00001001byte9 = 00000000Binar-----------byte0 =01001001byte1 =10010110byte2 =00000010byte3 =11010010 :prayer:

Share this post


Link to post
Share on other sites
Guest Marus_Rockeru

La Microchip e doar o rutina de conversie " 5 digit BCD to 16bit Binary " ...eu vream " 10 digit BCD to 32bit Binary " :smt017

Share this post


Link to post
Share on other sites

La Microchip e doar o rutina de conversie " 5 digit BCD to 16bit Binary " ...eu vream " 10 digit BCD to 32bit Binary " :smt017

Pica para malaiatza ...Vezi cum e algoritmul ala si extinde-l la 10 digiti.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.