Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Computer Engineering Expert

problem 1: Show how the value ASCII “MIRIAM” is stored in memory in Big Endian format beginning at location 100 hexadecimal. Suppose that each memory location stored two ASCII characters.

2377_ASCII characters.jpg

problem 2: A given microprocessor has words of 1 byte. Determine the smallest and largest integer that can be represented in the given representations?

a) Unsigned.
b) Sign- magnitude.
c) Ones complement.
d) Twos complement.
e) Unsigned packed decimal.
f) Signed packet decimal.

problem 3: Compare zero-, one, two-, and three- address machines by writing the programs to compute:

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

for each of four machines. Don’t modify the values of A, B, C, D, E or F. If essential, use a temporary location T to store the intermediate results.

The instructions accessible for use are as shown below:

2205_3-address machines.jpg

problem 4: Convert the given formulas from reverse Polish to infix:

a) AB +C + D x
b) ABCDE + x x /

problem 5: Convert the given formulas from infix to reverse Polish:

a) A + B + C + D + F
b) (A x B) + (C x D) + E

problem 6: Suppose a stack-oriented processor which includes the stack operations PUSH and POP. Arithmetic operations automatically comprise the top one or two stack elements.

Starting with an empty stack, what stack elements remain after the given instructions are executed?

2033_stack oriented processor.jpg

problem 7: Consider a processor in which a two-word instruction is stored at location 100 with its address field at location 101 as illustrated below.

1294_operation code and mode.jpg

The first word of the instruction specifies the operation code and mode; the second word specifies the address part.

The values of the program counter (PC register), a general register (R1), the index register (XR), the base register (BR) and certain addresses in memory are as illustrated below.

Compute the effective address and the value which is loaded into the AC for the given addressing modes:

1793_addressing mode.jpg

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91120

Have any Question? 


Related Questions in Computer Engineering

1 why should salts be chosen at random2 does using

1. Why should salts be chosen at random? 2. Does using passwords with salts make attacking a specific account more difficult than using passwords without salts? Explain why or why not. 3. Show that a system using an EKE ...

The cost to become a member of a fitness center is as

The cost to become a member of a fitness center is as follows: The senior citizens discount is 30% If the membership is bought and paid for 12 or more months, the discount is 15% If more than five personal training sessi ...

1 assume a private internet uses a protocol suite totally

1. Assume a private internet uses a protocol suite totally different from the TCP/ IP protocol suite. Can this internet still use the services of UDP or TCP as an end-to-end vehicle of message communication? 2. Can you e ...

Given that the internet is a shared network discuss whether

Given that the Internet is a shared network, discuss whether preventing denial of service attacks is inherently possible or not possible. Do systems connected to the Internet violate the principle of least common mechani ...

Using the frequency sampling method design a linear phase

Using the frequency sampling method, design a linear phase bandstop FIR filter with cutoff frequencies Ω c 1 = π/3, Ω c2 = π/2, and L h = 13. Realize the design as a frequency sampling filter.

Consider a complex signal composed of a dc term and two

Consider a complex signal composed of a dc term and two complex exponentials Plot each N-point DFT as a function of frequency fk = k/N. (a) Compute and plot the DFT of x[n] using 20 samples (0 ≤ n ≤ 19). From the plot, c ...

1 show a pipeline execution diagram for the third iteration

1. Show a pipeline execution diagram for the third iteration of this loop, from the cycle in which we fetch the first instruction of that iteration up to (but not including) the cycle in which we can fetch the first inst ...

Modeling food webs we mentioned how abm can be used to

Modeling food webs We mentioned how ABM can be used to describe food webs. However, these models are often written as an aggregate description. Imagine a model where instead of individual wolf and sheep there is simply a ...

Show that the covariance matrix of a row-ordered vector

Show that the covariance matrix of a row-ordered vector obtained from an N x N array of a stationary random field is not fully Toeplitz. Hence, a row scanned two-dimensional stationary random field does not yield a one-d ...

Open the rope model from the chemistry and physics section

Open the Rope model from the Chemistry and Physics section of the NetLogo models library. This model simulates a wave moving along a rope. The right end of the rope (shown in blue) is fixed to a wall. The left end of the ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro