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
Q. Illustrate Diffrent types of modems? There are four different types of modems: half-duplex, full-duplex, synchronous, and asynchronous.With half-duplex modems data can be tr

What is Central Processing Unit Central Processing Unit (CPU) performs all the arithmetic and logical calculations in a computer. The CPU is said to be the brain of the compute

Uniform Memory Access Model (UMA) In this model, the main memory is uniformly shared by all processors in multiprocessor systems and each processor has equal access time to sha

There can be more than one node at the highest level in the structure. False.  One can describe only single node at the highest level in the structure on LDB

Q. Explain about Floating Point Representation? Floating-point number representation includes two parts. The first part of number is a signed fixed-point number which is called

What are the two ways in which the system using cache can proceed for a write operation? Write by protocol technique Write-back or Copy-back protocol method

Address translation with dynamic partition : Given figure shows the address translation process with dynamic partitioning, where the processor provides hardware support for

What is said to be side effect? When a location other than one explicitly named in an instruction as a destination operand is affected, the instruction is said to have a side e

Can the size of an array be declared at runtime?              No, the size of an array can't be declared at run time, we always require to mention the dimensions of an array at

Blue Sky events is an organisation that devices and runs large outdoor events. They have been commissioned to organise and run an event for four months over the summer period in a