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

Below is a single node of an idef0 diagram decompose node

Below is a single node of an IDEF0 diagram. Decompose node A33 into three functions of Calculate Sales Tax, and Calculate Shipping, and Calculate Order Total. Make sure the ICOM objects remain consistent in the decomposi ...

A system administrator notices that a file service disk is

A system administrator notices that a file service disk is failing for two unrelated reasons. Once every 30 days, on average, vibration due to nearby construction breaks the disk's arm. Once every 60 days, on average, a ...

Filtering using phase one of the limitations of the

Filtering using phase) One of the limitations of the noise-smoothing linear filters is that their frequency response has zero phase. This means the phase distortions due to noise remain unaffected by these algorithms. To ...

1 when an http server receives a request message from an

1. When an HTTP server receives a request message from an HTTP client, how does the server know when all headers have arrived and the body of the message is to follow? 2. In a nonpersistent HTTP connection, how can HTTP ...

In el farol extension 2 we display the minmaxavg rewards

In El Farol Extension 2, we display the Min./Max./Avg. Rewards, but these statistics are mainly used for a normal distribution. What should you display if you expected the rewards were not normally distributed? Modify th ...

1 although there has been tremendous growth in the

1. Although there has been tremendous growth in the virtualization of computing resources, there are still many skeptics of the technology. List their concerns. Suggest ways to overcome those concerns. 2. Discuss the dif ...

Cpsc programthis is the programwrite a class to represent a

CPSC Program This is the program Write a class to represent a dynamically sized array of integers. Name it DynArray. submit: a file named dynarray.h that contains all of your class code Class specifications: Private data ...

1 what are the various types of malware how do worms differ

1. What are the various types of malware? How do worms differ from viruses? Do Trojan horses carry viruses or worms? 2. Why does polymorphism cause greater concern than traditional malware? How does it affect detection?

Search the web for three different employee hiring and

Search the Web for three different employee hiring and termination policies. Review each and look carefully for inconsistencies. Do each of the policies have sections addressing information security requirements? What cl ...

The latency of the interconnect network plays a large role

The latency of the interconnect network plays a large role in the efficiency of message passing systems. How fast does the interconnect need to be in order to obtain any speedup from using the distributed system describe ...

  • 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

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

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen