Post Reply 
DEG in N-Queen benchmark code for HP-42s
11-07-2021, 07:38 PM (This post was last modified: 11-07-2021 07:41 PM by rprosperi.)
Post: #3
RE: DEG in N-Queen benchmark code for HP-42s
In calculations that don't depend on any angular mode, DEG is often used as a NOP, so that it has no effect. Note that in each case, DEG follows an ISG or DSE instruction, which in those cases are intended to not branch differently depending on on the outcome of the increment or decrement. Note that RAD or GRAD could also be used in the same way. Sometimes programs use X<>X instead, as this tends to be easier to figure out, but this could have undesirable small impacts on the stack or LASTX, so not always a good choice.

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


Messages In This Thread
RE: DEG in N-Queen benchmark code for HP-42s - rprosperi - 11-07-2021 07:38 PM



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