{"id":2005,"date":"2018-03-03T23:25:54","date_gmt":"2018-03-03T23:25:54","guid":{"rendered":"http:\/\/www.sydneysmith.com\/wordpress\/?p=2005"},"modified":"2018-03-03T23:38:12","modified_gmt":"2018-03-03T23:38:12","slug":"hp-21-microcode-reference","status":"publish","type":"post","link":"https:\/\/www.sydneysmith.com\/wordpress\/2005\/hp-21-microcode-reference\/","title":{"rendered":"HP-21 Microcode Reference"},"content":{"rendered":"<p>This is a summary of what I&#8217;ve found. It is likely to get updated from time to time<!--more-->.<\/p>\n<h2>s flags<\/h2>\n<table>\n<tr>\n<td>s0<\/td>\n<td>n\/a<\/td>\n<td>not used.<\/td>\n<\/tr>\n<tr>\n<td>s1<\/td>\n<td>SCI<\/td>\n<td>Set for scientific notation, clear for fixed.<\/td>\n<\/tr>\n<tr>\n<td>s2<\/td>\n<td>auto_enter<\/td>\n<td>A digit will push the current X up the stack.<\/td>\n<\/tr>\n<tr>\n<td>s3<\/td>\n<td>radians<\/td>\n<td>Set if the DEG-RAD switch is in the RADians position.<\/td>\n<\/tr>\n<tr>\n<td>s5<\/td>\n<td>power_ok<\/td>\n<td>A value of 0 indicates low power.<\/td>\n<\/tr>\n<tr>\n<td>s9<\/td>\n<td>dot_pressed<\/td>\n<td>During data entry etc, a &#8220;.&#8221; has already been pressed.<\/td>\n<\/tr>\n<tr>\n<td>s13<\/td>\n<td>g_pressed<\/td>\n<td>The blue function key was pressed.<\/td>\n<\/tr>\n<tr>\n<td>s15<\/td>\n<td>key_down<\/td>\n<td>Set while a key is being pressed.<\/td>\n<\/tr>\n<\/table>\n<h2>Addresses<\/h2>\n<table>\n<tr>\n<td>00376<\/td>\n<td>waitloop<\/td>\n<\/tr>\n<tr>\n<td>00007<\/td>\n<td>display<\/td>\n<\/tr>\n<tr>\n<td>00403<\/td>\n<td>keypressed<\/td>\n<\/tr>\n<\/table>\n<h2>Other<\/h2>\n<table>\n<tr>\n<td>f<\/td>\n<td>DSP precision<\/td>\n<\/tr>\n<tr>\n<td>M1<\/td>\n<td>Memory<\/td>\n<\/tr>\n<\/table>\n<p>This is part of the <a href=\"http:\/\/www.sydneysmith.com\/wordpress\/hp21-main\/\">HP-21 topic<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a summary of what I&#8217;ve found. It is likely to get updated from time to time<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,5,68],"tags":[32],"_links":{"self":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/2005"}],"collection":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/comments?post=2005"}],"version-history":[{"count":6,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/2005\/revisions"}],"predecessor-version":[{"id":2012,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/2005\/revisions\/2012"}],"wp:attachment":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/media?parent=2005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/categories?post=2005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/tags?post=2005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}