(35s) Double Deck Descriptor: A 2-level Description of Input - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (35s) Double Deck Descriptor: A 2-level Description of Input (/thread-20170.html) |
(35s) Double Deck Descriptor: A 2-level Description of Input - Gerald H - 07-13-2023 03:11 PM Double Deck Descriptor I now present the DDD for the HP 35s. For input 0 22367899 the programme returns 211112 987632 to be read as 291817161322 to be read as two 9s one 8 one 7 one 6 one 3 two 2s. Limitations: No particular digit may appear more than 9 times in the combination of the two levels - results become incoherent. The initial zero on stack level Y is needed as a starter - indeed, it could be replaced by any number, but the result would be questionable. If the programme is now again activated, you get a description of 291817161322 & so on. You may notice the awkwardness I have in dealing with indirect addressing of variables - I would be grateful for improvements. I have used (I) to represent indirect I as the sign occurs where ordinary brackets are not allowed. Code: 1. LBL J |