Synthetic programming (HP-41): Difference between revisions

Content deleted Content added
References: improved refs
 
(18 intermediate revisions by 2 users not shown)
Line 1:
{{nouse footnotesdmy dates|date=MaySeptember 20222023|cs1-dates=y}}
{{use list-defined references|date=September 2023}}
'''Synthetic programming''' is an advanced technique for [[Mathematical programming|programming]] the [[HP-41C]] and [[Elektronika B3-34]] [[Programmable calculator|calculators]], involving creating [[Instruction (computer science)|instructions]] (or combinations of instructions and operands) that cannot be obtained using the standard capabilities of the calculator.<ref name=IEEE/>
__NOTOC__
'''Synthetic programming''' ('''SP''') is an advanced technique for [[Mathematical programming|programming]] the [[HP-41C]] and [[Elektronika B3-34]] [[Programmable calculator|calculators]], involving creating [[Instruction (computer science)|instructions]] (or combinations of instructions and operands) that cannot be obtained using the standard capabilities of the calculator.<ref name="IEEE"/>
 
Some HP-41C instructions are coded in memory using multiple [[variable-length instruction set|multiple byte]]s. Some of these sequence of bytes correspond to instructions the calculator is able to execute, but these cannot be entered in the program memory using conventional program entry methods (''i.e.'' using the calculator as described in the user's manual.). {{anchor|Byte grabber}}Synthetic programming uses a [[Softwaresoftware bug|bug]] in the calculator firmware to enter those byte sequences as a sequence of other instructions, then partially skipping halfway through the first instruction, so that the calculator believes the end of the first instruction is actually the beginning of a new one. This was called ''byte jumper'' or ''byte grabber''.
 
It is not clear if the creators behind the HP-41 were aware of all these "black holes". HP did not officially support these techniques, but probably was intrigued by the strange operations and in some cases allowed enthusiasts to practice in their offices and helped to improve it among a whole sense of curiosity.
 
==HP-15C==
Synthetic programming is also possible on the (original) [[HP-15C]].<ref>{{cite web |title=HP-15C Synthetics |date=2023-01-30 |orig-date=2004 |author-first=Eric L. "Brouhaha" |author-last=Smith |url=http://www.brouhaha.com/~eric/hpcalc/hp15c/tennant83.html |access-date=2023-09-25 |url-status=live |archive-url=https://web.archive.org/web/20230925194842/http://www.brouhaha.com/~eric/hpcalc/hp15c/tennant83.html |archive-date=2023-09-25}}</ref><ref>{{cite web |title=HP 15C Synthetics and Synthetic Programming |language=en |url=https://www.youtube.com/watch?v=7b6rQtSNnqY |access-date=2022-08-10}}</ref>
 
==See also==
* [[Casio FX-602P series]]
* [[Illegal opcode]]
* [[Logic synthesis]]
* [[NOMAS (support)]]
* [[Overlapping instructions]]
* [[Self-modifying code]]
* [[Side effect (computer science)]]
* [[Variable-length instruction set]]
* [[Yeggogology]] (Cyrillic: "Еггогология")
 
==References==
Line 15 ⟶ 28:
 
==Further reading==
* {{cite book |isbn=0-96252580-4 |title=Synthetic Programming on the HP-41C |author-last=Wickes |author-first=William C. |date=1980 |isbn=0-96252580-4}}
* {{cite book |author-last=Jarett |author-first=Keith |date=1982 |title=HP-41 Synthetic Programming Made Easy |___location=United States |publisher=Synthetix}}
* {{cite book |isbn=0-9612174-4-8 |title=Inside the HP-41C |author-last=Dodin |author-first=Jean-Daniel |date=1985 |isbn=0-9612174-4-8}}
* {{cite book |isbn=0-9510733-0-3 |title=Extend Your HP-41 |author-last=Mier-JedrzejowiczJędrzejowicz |author-first=WlodekWłodzimierz "Włodek" Anthony Christopher |date=1985 |isbn=0-9510733-0-3}}
* {{cite book |isbn=0-9612174-6-4 |title=HP-41 Advanced Programming Tips |author-last1=McCornack |author-first1=Alan |author-last2=Jarett |author-first2=Keith |date=1987 |isbn=0-9612174-6-4}}
* [http://nonpareil.brouhaha.com/microcode_simulation.pdf{{cite web |title=Microcode-Level Calculator Simulation], by |author-first=Eric |author-last=Smith, presented at 2004 |___location=Hewlett-Packard Handheld Conference in San Jose, California, onUSA |date=2004-09-26 September 2004|url=http://nonpareil.brouhaha.com/microcode_simulation.pdf}}
* http://www.jeffcalc.hp41.eu/divers/files/ppcjt-v1n3.pdf<!-- https://web.archive.org/web/20230923192857/http://www.jeffcalc.hp41.eu/divers/files/ppcjt-v1n3.pdf -->
 
{{HP calculators}}
== See also==
*[[Yeggogology]] (Cyrillic: "Еггогология")
 
[[Category:HP programmable calculators| Synthetic programming]]