Maurice Tutor

(5)

$15/per page/Negotiable

About Maurice Tutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Algebra,Applied Sciences See all
Algebra,Applied Sciences,Biology,Calculus,Chemistry,Economics,English,Essay writing,Geography,Geology,Health & Medical,Physics,Science Hide all
Teaching Since: May 2017
Last Sign in: 407 Weeks Ago, 6 Days Ago
Questions Answered: 66690
Tutorials Posted: 66688

Education

  • MCS,PHD
    Argosy University/ Phoniex University/
    Nov-2005 - Oct-2011

Experience

  • Professor
    Phoniex University
    Oct-2001 - Nov-2016

Category > Computer Science Posted 15 Jul 2017 My Price 8.00

instruction lengths

7.    Compare 0-, 1-, 2-, and 3-address machines by writing programs to compute X = (A + B ´ C) / (D − E ´ F)

for each of the four machines.  The instructions available for use are as follows:

0 Address

PUSH M

1 Address

LOAD M

2 Address

MOV    (X = Y)

3 Address

MOV     (X = Y)

POP M

STORE M

ADD    (X = X+Y)

ADD     (X = Y+Z)

ADD SUB MUL

ADD M SUB M MUL M

SUB     (X = X-Y)

MUL    (X = X*Y)

DIV      (X = X/Y)

SUB      (X = Y-Z)

MUL     (X = Y*Z)

DIV       (X = Y/Z)

DIV

DIV M

 

 

 

M is a 16-bit memory address, and X , Y , and Z are either 16-bit addresses or 4-bit reg- isters. The 0-address machine uses a stack, the 1-address machine uses an accumula- tor, and the other two have 16 registers and instructions operating on all combinations of memory locations and registers. SUB X,Y subtracts Y from X and SUB X,Y,Z subtracts Z from Y and puts the result in X . With 8-bit opcodes and instruction lengths that are multiples of 4 bits, how many bits does each machine need to compute X ?

Answers

(5)
Status NEW Posted 15 Jul 2017 10:07 PM My Price 8.00

Hel-----------lo -----------Sir-----------/Ma-----------dam----------- Â----------- Th-----------ank----------- Yo-----------u f-----------or -----------usi-----------ng -----------our----------- we-----------bsi-----------te -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill-----------

Not Rated(0)