Post Reply 
Long Division program
08-25-2017, 06:47 AM (This post was last modified: 08-25-2017 07:35 AM by Gamo.)
Post: #1
Long Division program
Got this nice Long Division program from HP Key Notes newsletter (1977 issue)

Anyone have the idea on how to adapt this program to work on HP 12C will be nice.

001 *LBL A
002 /
003 LSTX
004 X<>Y
005 ENT^ (ENTER)
006 FRC (FRAC)
007 X<>Y
008 INT (INTG)
009 R down
010 x
011 EEX
012 4
013 /
014 R up (no key)
015 +
016 DSP4 (FIX4)
017 RTN (no key)
018 R/S

To use the routine press ENTER key in divisor and press A

Example:

4359 ENTER, 57 A ------ 76.0027

Quotient = 76, Remainder = 27


Gamo
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Long Division program - Gamo - 08-25-2017 06:47 AM
RE: Long Division program - Dieter - 08-26-2017, 05:54 PM
RE: Long Division program - Dieter - 08-26-2017, 06:30 PM
RE: Long Division program - Gamo - 08-27-2017, 11:51 AM
RE: Long Division program - Dieter - 08-27-2017, 12:17 PM
RE: Long Division program - Gamo - 08-28-2017, 05:10 AM



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