{"id":1322,"date":"2015-12-01T21:35:41","date_gmt":"2015-12-01T21:35:41","guid":{"rendered":"http:\/\/www.sydneysmith.com\/wordpress\/?p=1322"},"modified":"2017-05-14T00:47:35","modified_gmt":"2017-05-14T00:47:35","slug":"the-hp65-m-register","status":"publish","type":"post","link":"https:\/\/www.sydneysmith.com\/wordpress\/1322\/the-hp65-m-register\/","title":{"rendered":"The HP65 M Register"},"content":{"rendered":"<p>The M register in the HP-65 is used for a lot of very interesting things. Maybe not quite &#8220;give me the contents of the M register and I&#8217;ll show you the world&#8221;; but it is very close to that. <!--more--><\/p>\n<p>The M register has, of course, 14 digits. The digits are numbered by HP from right to left starting with 0 so we have:<br \/>\nM= 13 12 11 10 9 8 7 6 5 4 3 2 1 0<\/p>\n<p>The three rightmost [2,1,0] are the exponent (&#8220;[x]&#8221; in the microcode) including [2], the exponent sign (&#8220;[xs]&#8221; in the microcode).<\/p>\n<p>The other digits are [13] &#8211; the mantissa sign (&#8220;[ms]&#8221;) and [12,&#8230;,3] &#8211; the mantissa (&#8220;[m]&#8221;).<\/p>\n<p>When you copy the contents of the M register into the C register individual digits are accessible via the &#8220;c[p]&#8221; construct in microcode instructions.<\/p>\n<p>Okay, enough of the basis. Here&#8217;s what is in it:<br \/>\nM[13]: ???<br \/>\nM[12]: 1= DSP was pressed, 2= DSP . pressed<br \/>\nM[11]: 1= GTO was pressed.<br \/>\nM[10]: 1= LBL was pressed.<br \/>\nM[ 9]: ???<br \/>\nM[ 8]: ???<br \/>\nM[ 7]: 1= f was pressed.<br \/>\nM[ 6]: 1= f-1 was pressed.<br \/>\nM[ 5]: 1= STO was pressed, 2-5= STO {-+*\/} pressed.<br \/>\nM[ 4]: 1= RCL was pressed.<br \/>\nM[ 3]: 1= g was pressed.<br \/>\nM[ 2]: precision (2 if DSP . 2, 5 if DSP 5)<br \/>\nM[ 1]: mode (0=SCI, 2=FIX)<br \/>\nM[ 0]: angle mode (0=RAD, 1=DEG, 2=GRD)<\/p>\n<p>There is an elegant simplicity to it. The content looks a lot like what we see in RAM[62] of a HP-67 although a lot of that is blank as the &#8217;67 tracks prefix keys through a different mechanism.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The M register in the HP-65 is used for a lot of very interesting things. Maybe not quite &#8220;give me the contents of the M register and I&#8217;ll show you the world&#8221;; but it is very close to that.<\/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,47],"tags":[37],"_links":{"self":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/1322"}],"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=1322"}],"version-history":[{"count":4,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/1322\/revisions"}],"predecessor-version":[{"id":1326,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/1322\/revisions\/1326"}],"wp:attachment":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1322"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1322"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1322"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}