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

Develop hardening checklist for windows 10one of the most

Develop Hardening Checklist for Windows 10 One of the most useful tools you will use in your role as an Information Security professional is a hardening checklist. Essentially, it is a document that serves as a guide to ...

1 what does it mean to say that a product is cc or tcsec

1. What does it mean to say that a product is CC or TCSEC compliant? 2. Research and find out if there are any widely used computer product security evaluation criteria. 3. Using the product evaluation list for computer ...

1 if we use no forwarding what fraction of cycles are we

1. If we use no forwarding, what fraction of cycles are we stalling due to data hazards? 2. If we use full forwarding (forward all results that can be forwarded), what fraction of cycles are we staling due to data hazard ...

1 an ipv6 packet consists of a base header and a tcp

1. An IPv6 packet consists of a base header and a TCP segment. The length of data is 128,000 bytes (jumbo payload). Show the packet and enter a value for each field. 2. Which ICMP messages contain part of the IP datagram ...

1 show that there are 2n entries in a truth table for a

1. Show that there are 2n entries in a truth table for a function with n inputs. 2. One logic function that is used for a variety of purposes (including within adders and to compute parity) is exclusive OR. The output of ...

1 what are the three primary aspects of information

1. What are the three primary aspects of information security risk management? Why is each important? 2. What is a management maintenance model? What does it accomplish? 3. What changes needed to be made to the model pre ...

Pop3 protocol has some optional commands that a

POP3 protocol has some optional commands (that a client/server can implement). Using the information in RFC 1939, find the meaning and the use of the following optional commands: a. UIDL b. TOP 1 15 c. USER d. PASS

What is the total delay latency for a frame of size 5

What is the total delay (latency) for a frame of size 5 million bits that is being sent on a link with 10 routers each having a queuing time of 2 μs and a processing time of 1 μs. The length of the link is 2000 Km. The s ...

What is the time-complexity of the printcalendar function

What is the time-complexity of the printCalendar() function implemented in Exercise 1.3? Exercise 1.3: Implement a function named printCalendar() that accepts a Date object and prints a calendar for the month of the give ...

A company publishes the design of its security software

A company publishes the design of its security software product in a manual that accompanies the executable software. a. In what ways does this satisfy the principle of open design? In what ways does it not? b. Given tha ...

  • 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