Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me with Assembly Language for PIC18F4523

Status
Not open for further replies.
Can I use the 4 byte variables math routines from this site. http://avtanski.net/projects/math/

It gives math routines for any variable length, but doesn't know wheather the code will work or not, 'coz I don't understand the code
Code:
 M_STOR_STATUS REG_STATUS
. What does that line do?
 

Attachments

  • math (5).asm.txt
    6.3 KB · Views: 49

Hi,

The 18F has a lot more maths capabilties than the 16F chips; the MUL instruction gives 16 bit results etc.

The M_STOR_STATUS is the name of a Macro , REG_STATUS is a User Variable
See MPlab,HELP,Assmbler - Macro for details - basically the are just very small subroutines where you can also easily pass data them.

Cannot help with those maths routines, think opening another post, as you have done, will get you some fresh help.

What kind of values are you trying to compute ?
 

OK. I want to compute values like 25.876293764043789292 * 1.527289524220079.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top