Sharing RPN-25 CE Programs


In addition to importing and exporting a program, as described above, there more ways to get data in and out of RPN-25 CE


Copy and paste display

In Run Mode:
 





    In Program Mode:
     




      You may even paste a multi-line program snippet copied by the Share action "Copy" (see below).

      If the data on the pasteboard contains an RPN-25 program file in XML format ("*.rpn25"), pasting replaces the entire program, including title, description, and modification date.

      If the data on the pasteboard represents program steps in text format, pasting may take place anywhere in the program. All targets of GTO and GSB commands will be automatically adjusted. Title, description, and modification date remain unchanged. This feature makes it easy to reuse program snippets without having to worry about addressing issues.




      Using the Share button

      A number of sharing options are available. Some involve only the program code (text or XML), some only the metadata (title, description), some all parts.













      Cut/Copy/Paste display value
       
      in RUN mode, the display value (stack register X) may be put onto or read from the iPhone's pasteboard:
     
       
      In PRGM mode, the current step may be copied or cut (removed):
     
       
      Sharing program and metadata
       
      Tap the Share button (top-right) to access various services like Copy, Print, Mail, Dropbox:
     


From the Programs screen

You can also email programs directly from the screen showing the available programs:


RPN-25 CE opens. Switch to program mode, long-press the display and paste.
 

 

Importing RPN-32 Programs


RPN-25 CE can import and run programs created for the RPN-32 CE simulator.

The only caveat is that the locations of the statistical registers are different on the two models.
The built-in function SWAP∑ (15 98) may be used to move register values between the two areas.


RPN-32

RPN-25

Statistics
R.0 R3 n
R.1 R7 ∑x
R.2 R6 ∑x²
R.3 R4 ∑y
R.4 R8 ∑y²
R.5 R5 ∑xy


There exist two easy methods to import a program from RPN-32 CE.

Method 1

In RPN-32 (calculator view):
 





In RPN-25:
 




Method 2

In RPN-32 (Programs screen):
 








 



Original RPN-32 instructions Translated RPN-25 instructions
      Expanding RPN-25 with RPN-32 instructions
       
      All RPN-32 instructions will be imported and translated automatically into RPN-25 instructions. This feature adds powerful statistical functions, hyperbolic functions, unit conversions, flag operations, even indirect register addressing, and more to RPN-25.

Along with dozens of additional functions and operations unique to RPN-25, you can create powerful programs that were simply impossible to put on the original HP-25.

List of Extra Functions
 

 

Importing GO-25 Programs


RPN-25 CE can run programs created for the popular HP-25 simulator GO-25.


To import a program from GO-25

In GO-25:
 





    In RPN-25:
     



      Extra GO-25 Operations
       
      GO-25 Extended Functions (called 8* Opcodes) cannot be entered directly on RPN-25's keyboard (with the exception of RND (called RAND on RPN-25). However, you can paste the keycodes shown below into the display in PRGM mode. RPN-25 expects a 2-digit dummy line number followed by one of the keycodes shown below.

(Tip: Enter the keycode anywhere in the description field of your program, then cut and paste it.)

Example:
Pasting the text 00 14 81 would insert the BEL1 instruction after the current program step.

The instructions are executed as follows:
     
      REGS (GO-25: DMP)
      Keycode 80
Switches to register display, if not already shown.
       
      BEEP (GO-25: BEL)
      Keycode 81
Sounds a short beep.
BEL is never cut short. In very fast program loops, it will sound as often as possible.
       
      DONE (GO-25: BEL1)
      Keycode 14 81
Sounds a two-tone signal.
       
      DONE (GO-25: BEL2)
      Keycode 15 81
Utters "Oh, no!"
       
      SEC
      Keycode 82
Retrieves the current second of the day.
       
      RND
      Keycode 83
Performs the RAND function of RPN-25.
 


Copyright © 2021. All rights reserved.
Apple and the Apple logo are trademarks of Apple Inc., registered in the U.S. and other countries. iPad is a trademark of Apple Inc.