CrossStudio 2.0's built-in Calcpad, any info ?

Comments

7 comments

  • Avatar
    Paul Curtis

    We're working on completely revised documemtation for V2.  Calcpad was something I wrote for me, when developing the ARM version of our floating point functions in assembly language.  You can go to different bases using :hex :dec :bin, you can do things like 1 2 + which adds 1 to 2.  Think Forth, so DUP and DROP work as you'd expect.  I was going to put a GUI onto it, but that seemed overkill.

    0
    Comment actions Permalink
  • Avatar
    Leon Heller

    I've used Forth in the past, but I can't get it to print a result! I've tried the usual period.

    Leon

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    The stack display shows the result in front of you. You can change bases using :dec :hex or :bin.  I think octal went out with the ark.

    0
    Comment actions Permalink
  • Avatar
    Leon Heller

    Thanks, I didn't notice it and was expecting something at the prompt.

     

    Leon

    0
    Comment actions Permalink
  • Avatar
    David Binette

    the display at the top shows the value currently on the stack, as you introduce values they show at the top, as you use them they are removed from the top.

    commands i've seen :dec :bin ;hex :128 :64 :32 :16 :8
    :dup  :drop  :swap   cls and or not mod xor neg + - / ^ & |

     

     

    0
    Comment actions Permalink
  • Avatar
    Paul Curtis

    You can also use :flt and :fix.  I might get round to documenting it one day, but I'm not sure that customers will find it as useful as I do when fiddling with floating point numbers.

    0
    Comment actions Permalink
  • Avatar
    Anthony Verbeck

    To help out, I've stared a calcpad document.  It's currently four pages and outlines all the functions that I could find.  I'd be happy to complete it.

    Anyway, hope you (plural) find it useful.

    0
    Comment actions Permalink

Please sign in to leave a comment.