HP-25/SR-56 Identical Conditionals
|
10-14-2021, 05:00 PM
Post: #14
|
|||
|
|||
RE: HP-25/SR-56 Identical Conditionals
(10-14-2021 04:49 PM)Valentin Albillo Wrote: Excuse me but in your example you use "DSZ 4". At face value, I read this as "Decrement and Skip if Zero (Register 4)". Well, I did provide an example, but it was in the format seen on a TI where you can actually do this. But if we imagine an HP with a DSNZ function, you could replace the original loop early exit: Code:
...with this: Code:
It's not a super frequent occurrence, but it does come up for me now and then. I suspect in the case of TI, they figured they've got this unmerged INV prefix instruction already, so might as well make it have an effect on as many other instructions as makes sense. In the case of a calculator with merged steps, it's probably more difficult to argue for giving it space in the opcode table. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)