PCalc for Java - Programming calculator. You can write programs for stack machine (with simplified Java like instruction set). Program consists of one or more procedure which can be nested. It is possible to access variables of top procedure (like in Pascal). You can execute program ste-by-step and inspect stack and variables in debugger. Input of commands and thier operands is optimized for mobile phone. This calculator is using floating point arithmetic with quadra precision (64 bits for both mantissa and exponent) implemented by Nikolay Klimchuk.
· PCalc keeps in database all your programs. A program consists of main procedure and may be some subprocedures. Program may have input parameters. The values of these parameters will be asked when program is started. Access to the parameters is performed using input instruction.
· PCalc provides stack-based language (like Forth). Operands are pushed on stack and operations are performed with top elements of the stack. Temporary results also can be stores in local variables (of self or outer procedure). Stack is also used to pass parameters to procedures and return values. Content of stack after return from main procedure is treated as program result. It is also possible view values of variables of main procedure (if program should return many results it is more convenient to store them in local variables).
· PCalc provides the following groups of instructions: load/store, operators, functions, control flow. Instructions of first three groups do not require extra explanation. Control flow instructions includes procedure call, return, conditional (IF) and unconditional (GOTO) branches. IF transforms control to the specified label if value on stack is zero. Label for these instruction is specified by selecting instruction in the list. Please notice, that when you are inserting new branch instruction it is not yet present in the list.
· PCalc provides wide editing capabilities. It is possible to add/remove/rename any variable/parameter/function. The only restriction is that it is not possible to remove entity which is used. It is also possible to move label (adjusting all branch instruction referencing this label) or change target of particular branch instruction.
· PCalc allows to introduce new variable only when you are specifying operand for STORE. Operand of load method is selected from the list of available variables. It somehow prevents programmer from using uninitialized variables.

Like it? Share with your friends!

Other Java Freeware of Developer «Konstantin Knizhnik»:

Java Metronome Java Metronome - Java Metronome, as its name says, is a metronome for Java devices.
It can produce signals with the specified frequency (times per minute). Signaling can be done using tone, vibration and backlight flashing. Mode, frequency, duration and volume of signal can also be configured

Econometer Econometer - Expenses analyzer. It will help you to store information about all your purchases, control and analyze your expenses. The program calculates average and maximal values of expenses for weeks and months, draw diagram illustrating yours expenses trend

MobileMap of Saint Petersburg MobileMap of Saint Petersburg - MobileMap is a vector map of Saint Petersburg with streets and metro stations.
The vector map of almost any city in Polish format can be easily converted to be used by this application. Because of limits on jar file size and small screen resolution, number of layers is restricted

Wordix Wordix - Wordix is a tetris-like game with words.
The goal of the game is to combine words from letters. Once word is constructed, it disappears from the screen. Game is finished when center of the screen (where new letters appears) is occupied.
Notes :
New letter appears in random order in the center of the screen and are moving in random direction

MobiBrowser MobiBrowser - MobiBrowser is a combination of book reader and Web browser.
This program can be used for Web browsing, reading news sites, downloading and reading books and atricles from the Web. It is not implement all HTML browser functionality - it doesn't show images and is not able to proceed forms

MobileMap of Moscow MobileMap of Moscow - MobileMap is a vector map of Moscow with more than 3000 streets and metro stations.
The vector map of almost any city in Polish format can be easily converted to be used by this application. Because of limits on jar file size and small screen resolution, number of layers is restricted

MobiBook MobiBook - MobiBook is a book reader for mobile phones.
You think it is nonsense, that screen resolution of mobile phone is not enough? Just look at the screenshots... Certainly normal "paper" books looks nicer. But it is not always with you

Counter for Java Counter for Java - ten counters on your mobile phone.
You can count everything you want (birds, flowers, your guests ect) and you phone will store all this information and can show it to you as a diagram

TripMate TripMate - TripMate is a program that helps you remember the route.
It can be route from conference room to coffee-room, it can be a tourist trip, it can be pathway in labyrinth.
During first traversal you make notes in you phone, specifying direction of movement and target of each step. Phone remembers how much time each steps takes

Graphing Calculator V1.01 Graphical function plotting software. Use this software to represent any function of one variable, f(x)

Jasymca Jasymca - Jasymca is a symbolic calculator. It solves and manipulates equations, handles basic calculus problems, and provides a few more typical functions of computer algebra systems. The syntax is loosely related to GNU-Maxima. While it is fun to play with mobile devices, it teaches the use of computer algebra systems, and may even be used to solve some real world problems

Total Calculator Calculate the whole expression in single step. Know how healthy you are with BMI calculator. It's Free

Java Calculator A free Java calculator developed using Java swing

auto calculator Our auto calculator enables you to calculate the value of complex expressions directly using

tcalc 60 Name: Touch Calc
Touch Calc 60 is a full screen scientific calculator

Touchscreen scientific calculator for S6 Scientific Calculator is an easy to use universal scientific calculator app for touchscreen devices. It evaluates basic mathematical as well as nested scientific expressions under consideration of the algebraic convention "brackets before power before point before line calculation"

Frink Frink - Frink is a programming language and calculating tool designed to help you make real-world calculations.
Frink is different than other calculating tools in that it tracks units of measure through all calculations. Thus, you can add feet and meters, multiply by grams, divide by pounds, and Frink does the right thing through all calculations

TouchMaths_ME The program TouchMaths (for touchscreen mobile phones) contain a set of revolutionary mathematical applications (Professional Calculator, Graph 2D, Function solver, Integral solver, Equation solver and Linear system solver)

Comments on PCalc for Java:

Comments not found

JavaMobiles - Free Java games download for mobile phones. Java Applications, Software, JAR, Apps for Nokia, Samsung, touch screen, 240x320 screen