Post Reply 
HP-41C T register duplication disabling
02-25-2020, 09:47 AM (This post was last modified: 02-25-2020 09:52 AM by Werner.)
Post: #18
RE: HP-41C T register duplication disabling
I wonder what the use is, but here goes
works even when Z and/or T contains string data or complex numbers.

1. keeping T intact if it was different from Z to start with
Code:
>LBL "T#Z"
 X<> ST Z
 R^
 X=Y?
 CLX
 X=Y?
 ISG ST X
 X#Y?
 Rv
 X<> ST Z
 END

2. destroying T
Code:
>LBL "T#Z"
 PI
 R^
 X=Y?
 STO- ST Y
 Rv
 Rv
 END

Cheers, Werner

41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP-41C T register duplication disabling - Werner - 02-25-2020 09:47 AM



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