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

Please answer the following questionwhat are the one or two

Please answer the following question. What are the one or two most challenging issues in identifying and documenting IT acquisition requirements (i.e., the requirements for solving the problem that was defined)? Explain ...

Draw a four-state tg that accepts all the input strings

Draw a four-state TG that accepts all the input strings from {a, b}* that are not in EVEN-EVEN. Is there a two-state TG that accepts this language?

Discuss the differences between ddl and dmlwhat operations

Discuss the differences between DDL and DML? What operations would you typically expect to be available in each language?

What are the events done by the kernel after a process is

What are the events done by the Kernel after a process is being swapped out from the main memory?

Disaster and incident recovery planningusing the required

Disaster and Incident Recovery Planning Using the required readings and any other resources you might find helpful, write a paper regarding development of an effective approach to disaster and incident recovery planning ...

Write a 1-2 page narrative describing in your own words

Write a 1-2 page narrative describing in your own words: "Your concept of how the Internet works.." A suggested approach is to begin with a workstation running a web browser and trace a connection to a public web server  ...

Write an arduino program for an led connected to pin 3 to

Write an Arduino program for an LED connected to pin 3 to blink 7 times with a delay of 0.75 sec, then stays off. Use the FOR loop, and an increment of one. - Include your name, date, and description of program at the to ...

Name three different shading techniques compare them and

Name three different shading techniques. Compare them and describe how they differ from each other. Identify types of real-world materials and objects for which each shader is not suitable.

An arbiter controls access to a common resource it uses a

An arbiter controls access to a common resource. It uses a rotating-priority scheme in responding to requests on lines R1 through R4. Initially, R1 has the highest priority and R4 the lowest priority. After a request on ...

Let m be the matrix of data pointsa what are mtm and mmtb

Let M be the matrix of data points (a) What are MTM and MMT? (b) Compute the eigenpairs for MTM. (c) What do you expect to be the eigenvalues of MMT? (d) Find the eigenvectors of MMT, using your eigenvalues from part (c) ...

  • 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

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate