{"id":1414,"date":"2015-12-12T20:12:37","date_gmt":"2015-12-12T20:12:37","guid":{"rendered":"http:\/\/www.sydneysmith.com\/wordpress\/?p=1414"},"modified":"2017-05-14T00:44:06","modified_gmt":"2017-05-14T00:44:06","slug":"hp-65-the-s8-running-flag","status":"publish","type":"post","link":"https:\/\/www.sydneysmith.com\/wordpress\/1414\/hp-65-the-s8-running-flag\/","title":{"rendered":"HP-65 &#8211; The s8 &#8220;Running&#8221; Flag"},"content":{"rendered":"<p>It looks like s8 controls whether a program runs or not. Here&#8217;s why:<!--more--><\/p>\n<p>if s8 = 1 get an instruction from prgm mem:<\/p>\n<pre>\r\n00750 if s8 = 0\r\n00751 goto 00441\r\n00752 pointer advance\r\n00753 disptoggle\r\n00754 c &lt;-&gt; m        ; C= 10000000000221 M =05432100000004\r\n00755 shiftl a[w]    ; A= 21000009990000\r\n00756 0 -&gt; s11       ; S= ........8...\r\n00757 0 -&gt; f5\r\n00760 if s11 = 0\r\n00761 goto 00757\r\n00757 0 -&gt; f5        ; S= ........8..b\r\n00760 if s11 = 0\r\n00761 goto 00757\r\n00762 0 -&gt; f5\r\n00763 rom 2\r\n01364 buffer -&gt; rom address\r\n01365 goto 01000\r\n<\/pre>\n<p>s8 persists. 01167 is a subroutine to clear all of the status flags &#8211; except s8 if that happens to be set:<\/p>\n<pre>\r\n01167 if s8 = 0\r\n01170 goto 01123\r\n01171 clearstatus              ; S= ............\r\n01172 1 -&gt; s8                  ; S= ........8...\r\n01173 return\r\n; else\r\n01123 clearstatus\r\n01124 return\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>It looks like s8 controls whether a program runs or not. Here&#8217;s why:<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,5,39],"tags":[37,32],"_links":{"self":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/1414"}],"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=1414"}],"version-history":[{"count":1,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/1414\/revisions"}],"predecessor-version":[{"id":1415,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/1414\/revisions\/1415"}],"wp:attachment":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1414"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1414"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1414"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}