Previews 83
2. Calculate 0b10+0hF+10.
To enter a binary or hex number, you must
use the 0b or 0h prefix (zero and the letter B
or H). Otherwise, the entry is treated as a
decimal number.
Note: The 0b or 0h prefix is a zero, not the
letter O, followed by B or H.
@ 0 j B 10 « 0 2 ™ HF j «
10 ¸
3. Add 1 to the result and convert it to binary.
2 4 displays the 4 conversion operator.
@« 1 2 4 2 ™ BIN j ¸
4. Add 1 to the result and convert it to
hexadecimal.
@« 1 2 4 2 ™ HEX j ¸
5. Add 1 to the result and leave it in the
default decimal base.
Results use the 0b or 0h prefix to identify
the base.
Press « 1 ¸
6. Change the
Base mode to HEX.
When Base = HEX or BIN, the magnitude of
a result is restricted to certain size
limitations.
Press 3 „ (use D to move to Base
mode) B 2 ¸
7. Calculate 0b10+0hF+10.
@ 0 j B 10 « 0 2 ™ HF j «
10 ¸
8. Change the
Base mode to BIN.
Press 3 „ (use D to move to Base
mode) B 3 ¸
Steps and keystrokes Display