{"id":108362,"date":"2022-12-06T23:18:43","date_gmt":"2022-12-06T23:18:43","guid":{"rendered":"https:\/\/assignmenttutors.net\/blog\/arm-assembly-language-program-the-control-unit-for-an-electronic\/"},"modified":"2022-12-06T23:18:43","modified_gmt":"2022-12-06T23:18:43","slug":"arm-assembly-language-program-the-control-unit-for-an-electronic","status":"publish","type":"post","link":"https:\/\/assignmenttutors.net\/blog\/arm-assembly-language-program-the-control-unit-for-an-electronic\/","title":{"rendered":"Arm assembly language: program the control unit for an electronic"},"content":{"rendered":"<div>\n<p><span><strong><span>This should be in Arm Assembly language.<\/span><\/strong><\/span><\/p>\n<p>The 8-Segment display and LEDs will show status of the safe:<\/p>\n<ul>\n<li>U: indicates safe is unlocked<\/li>\n<li>L: indicates safe is locked<\/li>\n<li>P: indicates safe is programming a code<\/li>\n<li>C: indicates safe is confirming a new code<\/li>\n<li>F: indicates safe is forgetting an old code<\/li>\n<li>A: indicates a programming request was successful<\/li>\n<li>&#8216;E&#8217;: indicates a programming fault.<\/li>\n<\/ul>\n<p>The safe starts unlocked, cannot be locked and there are no valid codes. Whenever there are no codes the safe cannot be locked.<\/p>\n<p>To lock the safe (this should work at ANY time):<\/p>\n<ol>\n<li>press the left black button.<\/li>\n<\/ol>\n<p>To unlock the safe (This should work ONLY when the safe is locked):<\/p>\n<ol>\n<li>Enter a valid code sequence<\/li>\n<li>Press the left black button.<\/li>\n<\/ol>\n<p>To learn a new code (codes must be 4 buttons or more):<\/p>\n<ol>\n<li>Press the right button once<\/li>\n<li>8-segment should show &#8216;P&#8217;<\/li>\n<li>enter a new code sequence<\/li>\n<li>press the right button again.<\/li>\n<li>8-segment should show &#8216;C&#8217;<\/li>\n<li>enter the same code sequence<\/li>\n<li>press the right button a third time.<\/li>\n<li>If the code was correct 8-segment displays &#8216;A&#8217;<\/li>\n<li>if the code was incorrect 8-segment display &#8216;E&#8217;<\/li>\n<\/ol>\n<p>To forget an old code:<\/p>\n<ol>\n<li>Press the right black button<\/li>\n<li>8-segment should show &#8216;P&#8217;<\/li>\n<li>enter an old code sequence<\/li>\n<li>press the right button again.<\/li>\n<li>8-segment should show &#8216;F&#8217;<\/li>\n<li>enter the same code sequence<\/li>\n<li>press the right button a third time<\/li>\n<li>If the codes matched 8-segment displays &#8216;A&#8217;<\/li>\n<li>if the codes did not matched 8-segment displays &#8216;E&#8217;<\/li>\n<\/ol>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>This should be in Arm Assembly language. The 8-Segment display and LEDs will show status of the safe: U: indicates safe is unlocked L: indicates safe is locked P: indicates safe is programming a code C: indicates safe is confirming a new code F: indicates safe is forgetting an old code A: indicates a programming [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-108362","post","type-post","status-publish","format-standard","hentry","category-education"],"_links":{"self":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/108362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/comments?post=108362"}],"version-history":[{"count":0,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/108362\/revisions"}],"wp:attachment":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/media?parent=108362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/categories?post=108362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/tags?post=108362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}