Post Reply 
Four types of RPN
09-11-2014, 01:30 PM (This post was last modified: 09-11-2014 01:56 PM by Thomas Klemm.)
Post: #24
RE: Four types of RPN
(09-11-2014 10:19 AM)Marcus von Cube Wrote:  The HP 35 has limited memory and uses its T register for intermediate calculations in some transcendental functions. It makes sense to clear T after its "abuse" in order to avoid presenting garbage to the user. So as long as you don't use any transcendental functions, the behavior is "top copy", but top can be cleared on occasion.

There's an instruction stack -> a that drops the X register from the stack and moves it to register a:

X → a
Y → X
Z → Y
T → Z

There's another instruction c -> stack that pushes register c to the stack. After executing this instruction the previous value of the T register is lost.

Z → T
Y → Z
X → Y
c → X

Thus the intermediate result during the calculations of transcendental functions is saved in the X register and not in the T register.

Quote:Edit: I just read in another thread that only the trig functions are affected and that the HP 35 duplicates Z to T after such an operation.

With the instruction stack -> a the T register is duplicated to the Z register.

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


Messages In This Thread
Four types of RPN - hansklav - 09-02-2014, 04:16 PM
RE: Four types of RPN - Joe Horn - 09-02-2014, 05:44 PM
RE: Four types of RPN - Jeff_Kearns - 09-02-2014, 06:06 PM
RE: Four types of RPN - walter b - 09-02-2014, 09:38 PM
RE: Four types of RPN - Joe Horn - 09-02-2014, 10:17 PM
RE: Four types of RPN - Mark Hardman - 09-02-2014, 10:22 PM
RE: Four types of RPN - d b - 09-02-2014, 10:40 PM
RE: Four types of RPN - Paul Dale - 09-03-2014, 04:57 AM
RE: Four types of RPN - hansklav - 09-08-2014, 12:51 AM
RE: Four types of RPN - hansklav - 09-02-2014, 10:52 PM
RE: Four types of RPN - walter b - 09-03-2014, 06:37 AM
RE: Four types of RPN - hansklav - 09-08-2014, 12:25 AM
RE: Four types of RPN - walter b - 09-08-2014, 04:40 AM
RE: Four types of RPN - Marcus von Cube - 09-03-2014, 04:45 PM
RE: Four types of RPN - hansklav - 09-08-2014, 12:37 AM
RE: Four types of RPN - Thomas Klemm - 09-03-2014, 08:36 PM
RE: Four types of RPN - htom trites - 09-08-2014, 05:33 AM
RE: Four types of RPN - walter b - 09-08-2014, 06:00 AM
RE: Four types of RPN - htom trites - 09-08-2014, 09:43 PM
RE: Four types of RPN - htom trites - 09-10-2014, 02:04 AM
RE: Four types of RPN - Thomas Klemm - 09-10-2014, 06:46 AM
RE: Four types of RPN - Thomas Klemm - 09-11-2014 01:30 PM



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