The programmer's calculator operates on and displays 64 bits of data. This table describes the keys available in that calculator.
When performing calculations, Calculator performs operations in a specific order, which can affect the result of your calculations. For example, multiplication operations are completed before addition and subtraction.
|
Key |
Function |
||
|---|---|---|---|
|
ASCII, Unicode |
Displays the ASCII or Unicode characters corresponding to the displayed value. The characters appear in the far left of the display. |
||
|
Hide/Show Binary |
Hides or shows the displayed value in binary. |
||
|
Hex, Oct, Dec |
Chooses the base for entering and displaying values: ■
Hex or hexadecimal (base 16) ■
Oct or octal (base 8) ■
Dec or decimal (base 10) |
||
|
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F |
Enters numerals 0 through F. When using octal, 0-7 are available. When using decimal, 0-9 are available. When using hexadecimal, 0-F are available. |
||
|
FF, 00 |
Enters two digits, 00 or FF, at once. Available only when using hexadecimal. |
||
|
+, -, x, ÷ |
Adds, subtracts, multiplies, divides. |
||
|
= |
Completes all operations. (Available if RPN is not selected in the View menu.) |
||
|
enter |
Pushes the displayed value onto the calculator's stack. (Available if RPN is selected in the View menu.) |
||
|
C |
Clears display window. (Press the Delete key on your computer's keyboard to clear only the last digit entered.) |
||
|
AC |
Clears display window and cancels all pending operations. |
||
|
RoL |
Rotates the displayed value one bit left, rolling over the value in the highest-bit position to the lowest-bit position. |
||
|
RoR |
Rotates the displayed value one bit right, rolling over the value in the lowest-bit position to the highest-bit position. |
||
|
2's |
Calculates the 2's complement of the displayed value. |
||
|
1's |
Calculates the 1's complement of the displayed value. |
||
|
AND, OR, NOR, XOR |
Combines two numbers using the specified logical operation. |
||
|
<< |
Shifts the displayed value one bit to the left, padding the lowest bit with a zero. |
||
|
>> |
Shifts the displayed value one bit to the right, dropping the lowest bit. |
||
|
Y<<X |
Shifts the first value to the left by the number of bits specified by the second value. |
||
|
Y>>X |
Shifts the first value to the right by the number of bits specified by the second value. |
||
|
Byte Flip |
Flips each byte in the displayed value. For example, 0xABCD becomes 0xCDAB. |
||
|
Word Flip |
Flips each word in the displayed value. For example, 0x1234ABCD becomes 0xABCD1234. |
||
|
Exchange Registers |
Swaps the bottom two numbers on the RPN stack. (Available if RPN is selected in the View menu.) |
||
|
Roll Up, Roll Down |
Moves the most recently entered number up or down the RPN stack. (Available if RPN is selected in the View menu.) |
||
|
drop |
Removes the bottom number from the RPN stack. (Available if RPN is selected in the View menu.) |
||