Post Reply 
WP-34S: Safely copy a graphics register's contents
06-11-2014, 09:44 PM
Post: #5
RE: WP-34S: Safely copy a graphics register's contents
(06-11-2014 08:54 PM)walter b Wrote:  just STO and RCL as you please. Smile

This is not reliable in DECM. Real numbers are normalised on store, this could change the graphic.

I think it will work in integer mode as the code currently stands but I wouldn't rely on it -- a mask and truncate to the current word size is a perfectly acceptable thing for the calculator to do on either STO or RCL.

Using one of the register swap commands twice will work too:

Code:
x<>
y<>
z<>
t<>

This won't preserve the source but is more likely to run into the future.

The most reliable way will be to use the block register copy command (R-COPY). That is what it is there for. Thus, something like:

Code:
# 001
SDR 002
# 001
SDR 005
+
R-COPY


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


Messages In This Thread
RE: WP-34S: Safely copy a graphics register's contents - Paul Dale - 06-11-2014 09:44 PM



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