Post Reply 
(15C) Binary to Decimal Conversion
01-10-2016, 10:09 PM
Post: #1
(15C) Binary to Decimal Conversion
HP 15C: Binary to Decimal Conversion

Link: http://edspi31415.blogspot.com/2016/01/h...rsion.html

Input: A number in binary form. Maximum value: 1 111 111 111 (1,023 in decimal).

Registers used:

R0 = number in binary
R1 = number in decimal
R2 = counter

I have this program under label C.

Program:

Code:
LBL C
STO 0
LOG
INT
1
+
3
10^X
÷ 
STO 2
0
STO 1
LBL 3
RCL 0
RCL 2
INT
1
+
10^X
÷
FRAC
1
0
*
INT
2
ENTER
RCL 2
INT
Y^X
*
STO+ 1
ISG 2
GTO 3
RCL 1
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(15C) Binary to Decimal Conversion - Eddie W. Shore - 01-10-2016 10:09 PM



User(s) browsing this thread: 1 Guest(s)