HP-41 and 42s: AIP with or without sign?
|
06-06-2018, 08:22 PM
Post: #5
|
|||
|
|||
RE: HP-41 and 42s: AIP with or without sign?
(06-06-2018 08:00 PM)rprosperi Wrote: if someone wanted to preserve the sign it's a pain to check absolute value and prepend the "-" sign while preserving the stack values prior to AIP, while on the 42S a simple ABS would remove it. Well, it's not that much of a pain even with the Advantage Pac's AIP: X<0? >"–" AIP Doing it the HP-41 way on a 42s while preserving the stack (but not LastX) would require something like this: ABS AIP X<> ST L But anyway, I prefer the 42s implementation. And I wonder if this difference ever has been mentioned somewhere as a possible problem when transferring HP41-code to the 42s. Dieter |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)