Debug4X and "divide by zero" when attempting build



#5

I am trying to learn to use Debug4x, and using the simple example UserRPL project as a learning vehicle. I always get a "divide by zero" error message when I attempt to build the project, or send the UserRPL source to the emulated calculator.

I'm getting back into writing some software for my hp50g after ignoring it for several years. I need to write some software to assist with machining calculations, and I would like to use Debug4X, instead of writing the code directly on the calculator. My thumbs can't handle that much typing anymore.

I am sure it's just a user problem, but I've been messing with it for a couple of hours, and have had no luck.

Is there anything obvious I can try?


#6

Is the project something you can share (so that we can help figure out what is causing the divide by zero error)?


#7

It's the example project UserRPL that is included with the installation of Debug4X.

It's in the Debug4X directory .../Debug4x/Examples/UserRPL/

I made no changes to it; I simply opened up the UserRPL.HPP file with Debug4x, and then selected the menu item, Build Project (F9). I instantly get the "divide by zero" error.

Selecting "Send UserRPL to calculator" gives me exactly the same results.


#8

I seem to be getting the same errors as you. One temporary workaround is to copy the code (not including the header) and use the Paste Stack menu option in the emulator, and using STR-> to obtain the desired result.


Possibly Related Threads…
Thread Author Replies Views Last Post
  WP-34S: Stack after divide by 0 Marcel Samek 4 1,429 08-24-2013, 11:57 PM
Last Post: Paul Dale
  WP 34S New Build with older GCC Marcus von Cube, Germany 4 1,882 06-22-2013, 05:12 PM
Last Post: Marcus von Cube, Germany
  HP-15C Simulator / Release 3.2.00, Build 5319 Torsten 10 2,894 05-11-2013, 05:19 PM
Last Post: Thomas Klemm
  they build their calculators like they build their words db (martinez, ca.) 22 5,342 10-30-2012, 05:57 AM
Last Post: Frank Boehm (Germany)
  Who cares for a divide key Paulo MO 63 12,161 07-13-2012, 12:31 AM
Last Post: Walter B
  [WP34s] Build error on linux 64bit Nobby K. 9 2,713 04-08-2012, 02:11 PM
Last Post: pascal_meheut
  WP34s V3 - Build Number recommended? Thomas Chrapkiewicz 27 6,842 01-28-2012, 01:22 PM
Last Post: Marcus von Cube, Germany
  WP34s build compiler David Griffith 19 4,503 01-06-2012, 08:49 AM
Last Post: Marcus von Cube, Germany
  Matrix functions on the WP 34s Build 1685: in a word "incredible" Gene Wright 78 16,392 10-06-2011, 09:16 AM
Last Post: Crawl
  WP34s: new build with Matrix functions? fhub 2 1,052 10-03-2011, 01:02 PM
Last Post: fhub

Forum Jump: