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 how do you get the first character of a string the last

1. How do you get the first character of a string? The last character? How do you remove the first character? The last character? 2. How do you get the last digit of an integer? The first digit? That is, if n is 23456, h ...

The little languages presented in section 29323 have

The little languages presented in Section 29.3.2.3 have ambiguous semantics. For example, in the location language, does "not host1 or host2" mean "not at host1 and not at host2" or "not at host1, or at host2"? a. Rewrit ...

Write a program that reads in the hourly wage of an

Write a program that reads in the hourly wage of an employee. Then ask how many hours the employee worked in the past week. Be sure to accept fractional hours. Compute the pay. Any overtime work (over 40 hours per week) ...

Modify your implementation of the big integer adt from the

Modify your implementation of the Big Integer ADT from the previous question by adding the assignment combo operators that can be performed on the self and rhsInt big integers. Allow for any of the following operations t ...

1 what is the difference between law and ethics2 what is

1. What is the difference between law and ethics? 2. What is civil law, and what does it accomplish? 3. What are the primary examples of public law? 4. Which law amended the Computer Fraud and Abuse Act of 1986, and what ...

In this project you will enhance the bankaccount class and

In this project, you will enhance the BankAccount class and see how abstraction and encapsulation enable evolutionary changes to software. Begin with a simple enhancement: charging a fee for every deposit and withdrawal. ...

Instructionsanswer all questions please show your working

Instructions Answer all questions. Please show your working for calculations. Formatting your assignment: - Please submit your assignment online as one document in PDF format. This format locks the information and is par ...

Assume that you have been asked to review the power needs

Assume that you have been asked to review the power needs for a standalone computer system which processes important but noncritical data and does not have to be online at all times, and which stores valuable data that c ...

Discussion criminal background checksread the article

Discussion: Criminal Background Checks Read the article titled "Why Aren't Business Ethics Classes Making Businesses More Ethical?" located at http://crowell.biola.edu/blog/2013/feb/13/why-ethics-classes-rae/. The Wall S ...

This problem concerns a traffic light placed on a stretch

This problem concerns a traffic light placed on a stretch of road where there is no cross traffic, but where pedestrians often cross. There are two sets of lights, one facing each direction of traffic, and two pedestrian ...

  • 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