Temporary location, Computer Engineering

Compare zero-, one, two-, and three- address machines by writing programs to compute

                        X = (A + B x C)/(D - E x F)

for every of the four machines.  Do not modify the values of A, B, C, D, E, or F.  If essential, use a temporary location T to kept the intermediate results.

The instructions available for use are as follows:

 

0 Address

1 Address

2 Address

3 Address

PUSH M

LOAD M

MOVE (XßY)

MOVE (XßY)

POP M

STORE M

ADD (XßX + Y)

ADD (XßY + Z)

ADD

ADD M

SUB (XßX - Y)

SUB (XßY - Z)

SUB

SUB M

MUL (XßX x Y)

MUL (XßY x Z)

MUL

MUL M

DIV (XßX / Y)

DIV (XßY / Z)

DIV

DIV M

 

 

 

Posted Date: 3/23/2013 2:16:07 AM | Location : United States







Related Discussions:- Temporary location, Assignment Help, Ask Question on Temporary location, Get Answer, Expert's Help, Temporary location Discussions

Write discussion on Temporary location
Your posts are moderated
Related Questions
Logic-based Expert Systems : Expert systems are agents that are programmed to make decisions just about real world situations are place together by utilising knowledge illicit


Q. What is Access latency and Rotation Speed? Access latency: A disk access basically moves the arm to selected cylinder and waits for rotational latency that may take less t

If a table that is to be extended contains a long field, we cannot use append structures why? Long fields in a table must always be located in the last, as the last field of th

Q. Show Two Way Pipelined Timing? Figure below demonstrates a simple pipelining scheme in which F and E stages of two different instructions are performed concurrently. This sc

Stack overflow causes   (A) Hardware interrupt.  (B) External interrupt.  (C) Internal interrupt.   (D) Software interrupt. Stack overflow occurs whereas execution

Explain about the Logical Devices Locator, to indicate a position and/or orientation Pick, to select a displayed entity To input a single value in the space of re

Q. Explain about Operand Address Calculation? In actual machines effective address can be a register address, memory or I/O port address. Register reference instructions for ex

THE ANALYTICAL ENGINE BY BABBAGE: It was general use computing device that could be used for performing any types of mathematical operation automatically. It contains the follo

the block diagram of an 8086 processor