My microcontroller instuctor was somewhat impressed. Welcome to state machines! The '48 had pretty good hex math capabilities and I never implemented the whole instruction set, but I certainly had the basic load, store, add, branch type stuff and a crude debugger UI that could show contents of registers and memory and single step etc. Unfortunately, the algorithms I used on my TI-81 were more like, "crude text adventure parser" (stereotypical DnD dungeon) "parametric equation of a side view of a boob" (boys will be boys) and in later years when I had a HP-48 I wrote a pretty decent 68hc11 simulator using an array as memory and variables as the registers. In order to write a program, you must understand what the algorithm does that you're using. Actually, you know more about calculus than you think you do.
0 Comments
Leave a Reply. |