{"id":113768,"date":"2023-01-29T03:44:27","date_gmt":"2023-01-29T03:44:27","guid":{"rendered":"https:\/\/assignmenttutors.net\/blog\/implement-the-unsigned-multiplication-subroutine-unsmul\/"},"modified":"2023-01-29T03:44:27","modified_gmt":"2023-01-29T03:44:27","slug":"implement-the-unsigned-multiplication-subroutine-unsmul","status":"publish","type":"post","link":"https:\/\/assignmenttutors.net\/blog\/implement-the-unsigned-multiplication-subroutine-unsmul\/","title":{"rendered":"Implement the unsigned multiplication subroutine unsmul"},"content":{"rendered":"<div>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p>For this assignment you must implement the multiplication algorithm for the LC-3.\u00a0<br \/>Note: A double-word is stored in 2 contiguous words; the least significant bits are stored at the lower-address word. For example, x1A2B 3C4D is stored as<\/p>\n<p>2) Implement the unsigned multiplication subroutine UNSMUL. The algorithm requires double-word shifts: ShiftRight(ACC:MPR). You must solve a bit carry-over problem since the double-words are stored as two single words.<br \/>3) Complete the code in main to perform the second test, XY = X * Y, using the same argument list, ARGS, that is used in the first test, AB = A * B.<br \/>4) The parameter-passing mechanism is an argument list located by R6. The IN-parameters are passed by value; OUT-parameters are passed by-address. Prior to return, your subroutine must store its OUT-parameter values (product) at the address in the argument-list.\u00a0<\/p>\n<p>3) Your subroutines must save\/restore all working registers.<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0 \u00a0 For this assignment you must implement the multiplication algorithm for the LC-3.\u00a0Note: A double-word is stored in 2 contiguous words; the least significant bits are stored at the lower-address word. For example, x1A2B 3C4D is stored as 2) Implement the unsigned multiplication subroutine UNSMUL. The algorithm requires double-word shifts: ShiftRight(ACC:MPR). You must solve [&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-113768","post","type-post","status-publish","format-standard","hentry","category-education"],"_links":{"self":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/113768","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=113768"}],"version-history":[{"count":0,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/posts\/113768\/revisions"}],"wp:attachment":[{"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/media?parent=113768"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/categories?post=113768"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/assignmenttutors.net\/blog\/wp-json\/wp\/v2\/tags?post=113768"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}