Post Reply 
Where is NOP on the HP-67 ?
01-07-2021, 09:31 PM
Post: #14
RE: Where is NOP on the HP-67 ?
(01-07-2021 09:13 PM)Valentin Albillo Wrote:  .
Looking at your code, in all three cases where the NOP appears it does it after a test which executes a RTN if true, so the NOP is never executed and you can safely replace it with another RTN, like this:

g X#Y?
RTN
RTN

V.

Not if you're converting 65 code to 67. The 65 will skip two instructions if the test is false. So the NOP is never executed, either because the test was true and RTN was executed, or because the test was false, and the NOP was skipped (along with the RTN). So just leave out the NOP.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Where is NOP on the HP-67 ? - teenix - 01-06-2021, 10:20 PM
RE: Where is NOP on the HP-67 ? - [kby] - 01-07-2021, 02:44 AM
RE: Where is NOP on the HP-67 ? - Gene - 01-07-2021, 10:36 PM
RE: Where is NOP on the HP-67 ? - [kby] - 01-09-2021, 06:40 AM
RE: Where is NOP on the HP-67 ? - Dave Britten - 01-07-2021 09:31 PM
RE: Where is NOP on the HP-67 ? - teenix - 01-07-2021, 11:36 PM
RE: Where is NOP on the HP-67 ? - teenix - 01-10-2021, 11:59 PM



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