Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

A few Oshon questions

Status
Not open for further replies.

Mosaic

Well-Known Member
1) What is the max precision for MATH functions like exponent & log etc?

2) How can I drop to asm and back out in BASIC?

3) Can I do fp math?

thx
 
1)... If you have bought the Floating Point addin then you have single precision "24bit"
2)... You use "ASM:" keyword.
3)...Yes if you have bought the Floating point addin.

This is in the help file.... type the keyword into the interface and press "F1" while the cursor is still on the keyword.
 
1) What is the max precision for MATH functions like exponent & log etc?

2) How can I drop to asm and back out in BASIC?

3) Can I do fp math?

thx

hi,
This is a working Basic/ASM program as an example.

You need the Oshonsoft 32 Bit MATH option in order to run it in simulation, its uses 32bit LONG WORDs
 
Last edited:
Thanks guys.

I got it working Eric, seems last year I bought almost all the sims & options on some offer.
Had to dig up my license email.

Have to do an app with complex math etc...and I figured I'd give Oshonsoft BASIC a crack rather than asm.
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top