click here to load a frame set
This text is written in my best english. Sorry my english is not good, but I hope when I write in english, you understand me better than in German.
Binary calculator is a easy and little program to calculate integer numbers with binary
operations (no floating point).
It's very helpful to programming.
The Binary Calculator is freeware:
Binary Calculator supports all logical operations like AND, OR, XOR, NOT.
It can also calculate with normal operation (+, -, /, *). Then it
have Shift Left and Shift Right functions.
For store the result, it includes six memory places.
Another really good function are the convert fields for
binary, decimal, hexadecimal, octal and character.
Binary Calculator make it easy to convert a number in another system.
It works with a HP RPN similar syntax: Enter the value in
to the edit field you need, than press the operation you
need.
The programm file BINARY.EXE is all you need to run. There arn't any .DLL's
or a installation routine!
In all example, the one number is in the result field, the other
(if needed) in the active memory.
If there is something like this in the text: ->ADD, it means
the button "ADD".
"Memory" means all input field (binary, decimal, hexadecimal, octal, character).
To clear the result:
If you want to add a number to the result field, do following thing:
To add two numbers:
To subtract a number from another:
NOTE: The number in the memory will be subtracted from the number in the result field.
To multiply two numbers:
To divide a number from another:
NOTE: the number in the result field will be divide by the number
in the memory.
The DIV - operation supports only integer division, if
you divide 3 by 2, it calculate 1.
To make a logical AND with two numbers:
To make a logical OR with two numbers:
To make a logical eXclusive OR with two numbers:
To invert a number with the logical operation NOT:
NOTE: If the number is positive, the result is negative and reverse
This Operation inverse always all 32 bits
(NOT 0 return -1111'1111'1111'1111'1111'1111'1111'1111b).
To shift left a bit:
NOTE: Shift left is the same like a multiplication with 2.
To shift right a bit:
NOTE: Shift left is the same like a division by 2.
You can store the value in the result field:
NOTE: If the memory field is always full, the new value overwrite the old value.
A stored result can be recalled by selecting the memory field.
(2d + 10h) OR (10b SHL 2)
Calculation:
(0. press ->CLEAR)
Name: Andreas Stricker
e-mail: Andy.Stricker@spectraweb.ch
Homepage #1: http://www.spectraweb.ch/~astric/
Homepage #2: http://www.futurespace.ch/andy/
The official place from this document in the Web is: http://www.futurespace.ch/andy/e_binary/help.htm