Alpha Geek

(8)

$10/per page/Negotiable

About Alpha Geek

Levels Tought:
University

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Environmental science,Essay writing,Programming,Social Science,Statistics Hide all
Teaching Since: Apr 2017
Last Sign in: 438 Weeks Ago, 4 Days Ago
Questions Answered: 9562
Tutorials Posted: 9559

Education

  • bachelor in business administration
    Polytechnic State University Sanluis
    Jan-2006 - Nov-2010

  • CPA
    Polytechnic State University
    Jan-2012 - Nov-2016

Experience

  • Professor
    Harvard Square Academy (HS2)
    Mar-2012 - Present

Category > Computer Science Posted 07 May 2017 My Price 7.00

Decipher the following MARIE machine language instructions

Given the instruction set for MARIE in this chapter:

a) Decipher the following MARIE machine language instructions (write the assembly language equivalent):

 i) 0010000000000111

ii) 1001000000001011

iii) 0011000000001001

b) Write the following code segment in MARIE’s assembly language:

c) What are the potential problems (perhaps more than one) with the following assembly language code fragment (implementing a subroutine) written to run on MARIE? The subroutine assumes the parameter to be passed is in the AC and should double this value. The Main part of the program includes a sample call to the subroutine. You can assume this fragment is part of a larger program.

 

 

Answers

(8)
Status NEW Posted 07 May 2017 05:05 PM My Price 7.00

-----------

Attachments

file 1494176515-Answer.docx preview (170 words )
G-----------ive-----------n t-----------he -----------ins-----------tru-----------cti-----------on -----------set----------- fo-----------r M-----------ARI-----------E i-----------n t-----------his----------- ch-----------apt-----------er:----------- a-----------) D-----------eci-----------phe-----------r t-----------he -----------fol-----------low-----------ing----------- MA-----------RIE----------- ma-----------chi-----------ne -----------lan-----------gua-----------ge -----------ins-----------tru-----------cti-----------ons----------- (w-----------rit-----------e t-----------he -----------ass-----------emb-----------ly -----------lan-----------gua-----------ge -----------equ-----------iva-----------len-----------t):----------- Â----------- i)----------- 00-----------100-----------000-----------000-----------001-----------11 ----------- ii-----------) 1-----------001-----------000-----------000-----------001-----------011----------- i-----------ii)----------- 00-----------110-----------000-----------000-----------010-----------01 ----------- b)----------- Wr-----------ite----------- th-----------e f-----------oll-----------owi-----------ng -----------cod-----------e s-----------egm-----------ent----------- in----------- MA-----------RIE-----------’-----------s a-----------sse-----------mbl-----------y l-----------ang-----------uag-----------e: ----------- -----------c) -----------Wha-----------t a-----------re -----------the----------- po-----------ten-----------tia-----------l p-----------rob-----------lem-----------s (-----------per-----------hap-----------s m-----------ore----------- th-----------an -----------one-----------) w-----------ith----------- th-----------e f-----------oll-----------owi-----------ng -----------ass-----------emb-----------ly -----------lan-----------gua-----------ge -----------cod-----------e f-----------rag-----------men-----------t (-----------imp-----------lem-----------ent-----------ing----------- a -----------sub-----------rou-----------tin-----------e)
Not Rated(0)