{"id":1223,"date":"2015-11-05T10:04:38","date_gmt":"2015-11-05T10:04:38","guid":{"rendered":"http:\/\/www.sydneysmith.com\/wordpress\/?p=1223"},"modified":"2017-05-14T01:41:55","modified_gmt":"2017-05-14T01:41:55","slug":"hp67-deg-rad-and-grd","status":"publish","type":"post","link":"https:\/\/www.sydneysmith.com\/wordpress\/1223\/hp67-deg-rad-and-grd\/","title":{"rendered":"HP67 DEG, RAD  and GRD"},"content":{"rendered":"<p>The HP67 calculator has three angle modes: DEG, RAD and GRD.<\/p>\n<p>DEG is degrees. There are 360 degrees in a circle.<br \/>\nRAD is radians. There are 2*PI radians (about 6.28) in a circle.<br \/>\nGRD is gradians. I&#8217;d never heard of these before I got my original HP67 but apparently these are used in some fields and there are 400 gradians in a circle.<br \/>\n<!--more--><br \/>\nYou select the angle mode by pressing [h] then [ENTER], [CHS] or [EEX]. The key codes you&#8217;ll see in W\/PRGM are &#8220;35 41&#8221;, &#8220;35 42&#8221; or &#8220;35 43&#8221;.<\/p>\n<p>The angle mode is one of the pieces of status information written to each side of a magnetic card, whether you write program information or data.<\/p>\n<p>h DEG 45 f SIN = 0.71, STO 0, g SIN-1 = 45.00<br \/>\nRCL 0 h RAD g SIN-1 = 0.79 (=PI\/4)<br \/>\nRCL 0 h GRD g SIN-1 = 50.00<\/p>\n<h2>Internals<\/h2>\n<p>When you select an angle mode the calculator remembers your choice by setting a combination of bits in its internal S register. You can see this by choosing different angle modes in the HP67u and looking at the S register via menu \/ Advanced.<\/p>\n<p>The combinations are:<br \/>\nDEG S0=0 &#038; S14=0<br \/>\nRAD S0=1 &#038; S14=0<br \/>\nGRD S0=0 &#038; S14=1<\/p>\n<h2>Microcode<\/h2>\n<pre>\r\n[h] [DEG]\r\n00214 display off\r\n00215 b exchange c[w]\r\n00216 CRC 400\r\n00217 keys to a\r\n...\r\n00252 delayed rom 01\r\n00253 a -&gt; rom address\r\n00522 ...\r\n<strong>07205 0 -&gt; s 0 \r\n07206 0 -&gt; s 14<\/strong> \r\n07207 if n\/c go to 07313\r\n07313 delayed rom 00 \r\n07314 if n\/c go to 0074\r\n00074 ...\r\n00161 hi im woodstock\r\n00162 display off\r\n00163 display toggle\r\n00164 ...\r\n(00167 - 00213; wait loop)\r\n\r\n[h] [RAD]\r\n00214 display off\r\n00215 b exchange c[w]\r\n00216 CRC 400\r\n00217 keys to a\r\n...\r\n00252 delayed rom 01\r\n00253 a -&gt; rom address\r\n00521 ...\r\n<strong>07203 1 -&gt; s 0 \r\n07204 if n\/c go to 07206\r\n07206 0 -&gt; s 14 <\/strong>\r\n07207 if n\/c go to 07313\r\n07313 ...\r\n\r\n[h] [GRD]\r\n00214 display off\r\n00215 b exchange c[w]\r\n00216 CRC 400\r\n00217 keys to a\r\n...\r\n00252 delayed rom 01\r\n00253 a -&gt; rom address\r\n00520 ...\r\n<strong>07210 0 -&gt; s 0 \r\n07211 1 -&gt; s 14 <\/strong>\r\n07212 if n\/c go to 07313\r\n07313 ...\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The HP67 calculator has three angle modes: DEG, RAD and GRD. DEG is degrees. There are 360 degrees in a circle. RAD is radians. There are 2*PI radians (about 6.28) in a circle. GRD is gradians. I&#8217;d never heard of these before I got my original HP67 but apparently these are used in some fields &hellip; <a href=\"https:\/\/www.sydneysmith.com\/wordpress\/1223\/hp67-deg-rad-and-grd\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">HP67 DEG, RAD  and GRD<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,5,3],"tags":[33,32],"_links":{"self":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/1223"}],"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=1223"}],"version-history":[{"count":7,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/1223\/revisions"}],"predecessor-version":[{"id":1349,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/1223\/revisions\/1349"}],"wp:attachment":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}