EasyManua.ls Logo

Sharp EL-5230 - Or Not 2 B (N-Base Conversion)

Sharp EL-5230
132 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
91
2B or not 2B (N-base conversion)
The conversion functions and logical operations can be used in the NBASE
program mode. The following is a simple program that converts a decimal
number to binary, pental, octal and hexadecimal formats.
1. Press b 2 1 1 to open a
window for creating a NEW program in
the NBASE program mode.
2. Type NBASE for the title then press e.
•A NEW program called ‘NBASE’ will be created.
3. Enter the program as follows.
Program code Key operations
Print”ENTER A i 1 @ a ENTER s A
; e
Print”DECIMAL NUMBER i 1 @ a DECIMAL s
NUMBER ; e
Input Y i 2 ; Y e
Y¬BIN ; Y @ z e
Print”BINARY i 1 @ a BINARY ;
e
Print Y i 0 ; Y e
Wait i 3 e
Y¬PEN ; Y @ r e
Print”PENTAL i 1 @ a PENTAL ;
e
Print Y i 0 ; Y e
Wait i 3 e
NBASE :NBASE
PROGRAM?
Chapter 8: Application Examples

Table of Contents

Related product manuals