Ask Other Engineering Expert

Assignment

Exercise 1

• Answer these questions:

(a) How does the ALU know which function to perform?
(b) Explain clearly how the fetch-decode-execute cycle works. (What are its steps? Explain each step)
(c) Why is it that if MARIE has 4K words of main memory, addresses must have 12 bits?
(d) What is an opcode?
(e) Explain the functions of all of MARIE's registers.
(f) Explain each step the the MARIE instruction STORE performs.
(g) Describe how an interrupt works and name four different types.

Exercise 2

A digital computer has a memory unit with 24 bits per word. The instructions set consists of 150 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word memory.

a) how many bits are needed for the opcode?
b) how many bits are left for the address part of the instruction?
c) what is the maximum allowable size for memory?
d) what is the largest unsigned binary number that can be accommodated in one word memory?

Exercise 3

A digital computer has a memory unit with 32 bits per word. The instruction set consists of 110 different operations. All instructions have an operation code part (opcode) and two address fields: one for a memory address and one for a register address. This particular system includes eight general-purpose, user-addressable registers. Registers may be loaded directly from memory and memory may be updated directly from the registers. Direct memory-to-memory data movement operations are not supported. Each instruction is stored in one word of memory.

a) how many bits are needed for the opcode?
b) how many bits are needed to specify the register?
c) how many bits are left for the memory address part of the instruction?
d) what is the maximum allowable size for memory?
e) what is the largest unsigned binary number that can be accommodated in one word of memory?

Exercise 4

Consider the MARIE program below.
a) list the hexadecimal code for each instruction.
b) draw the symbol table.
c) what is the value stored in the AC when the program terminates?

hex address    label     instructions
100                start,   LOAD A
101                           ADD B
102                           STORE D
103                           CLEAR
104                           OUTPUT
105                           ADDI D
106                           STORE B
107                           HALT
108                A,        HEX  00FC
109                B,        14-Dec
10A                C,        HEX 0108
10B                D,        HEX 0000

Exercise 5

Consider the MARIE program below.

a) list the hexadecimal code for each instruction.
b) draw the symbol table.
c) what is the value stored in the AC when the program terminates?

hex address     label     instructions
200                 begin,   LOAD base
201                            ADD Offs
202                 loop,    SUBT One
203                            STORE Addr
204                            SKIPCOND 800
205                            JUMP Done
206                            JUMPI Addr
207                            CLEAR
208                 done,   HALT
209                 base,   HEX 200
20A                Offs,    9-Dec
20B                One,    HEX 0001
20C                Addr,   HEX 0000

Exercise 6

Write the following code segment in MARIE's assembly language:

If x>1 then
Y=x+x;
X=0;
Endif;
Y=y+1;

Exercise 7

If x<=y then
Y=y+1;
Else if x !=z
Then y=y-1;
Else z=z+1;

Exercises 8

For guidance, look at Exercises 1 a & B and their solutions on page 835.

SHOW YOUR INTERMEDIATE COLUMNS that lead you to the final column solution.

Construct a truth table for:

a) xyz + x(yz)' + x'(y + z) + (xyz)'

b) (x + y') (x' + z') (y' + z')

Exercise 9

Is the fallowing true or false? Prove your answer.

(x XOR y)' = xy + (x + y)'

Exercises 10

Show that x = xy + xy'

a) using truth tables
b) Using Boolean identities

Exercise 11

Show that xz = (x + y) (x + y') (x' + z)

a) Using truth table
b) Using Boolean identities

Exercise 12

Use any method to prove the fallowing either true or false.
xz + x'y' + y'z' = xz + y'

Exercise 13

The truth table for a Boolean expression is shown below. Write the Boolean expression in sum of products form. (table is depicted below)

x

y

z

F

0

0

0

1

0

0

1

1

0

1

0

1

0

1

1

0

1

0

0

1

1

0

1

1

1

1

0

0

1

1

1

0

Exercise 14

Answer it and show the Truth Table for the one you selected.

Which of the fallowing Boolean expressions is not logically equivalent to all the rest?
a) wx' + xy' + xz
b) w + x' + y' + z
c) w(x' + y' + z)
d) wx'yz' + wx'y' + xy'y' + wz

Exercise 15

Given the Truth Table for (xz) + y'

state its Sum of Products expression

then draw the Logic Circuit for that Sum of Products.

xz + x'y' + y'z' = xz + y'

Exercise 16

Find the truth table that describe the following circuit:

2417_Circuit.jpg

Exercise 17

Find the truth table that describe the following circuit:

1880_Circuit1.jpg

Other Engineering, Engineering

  • Category:- Other Engineering
  • Reference No.:- M92383368
  • Price:- $85

Priced at Now at $85, Verified Solution

Have any Question?


Related Questions in Other Engineering

Register design a cpu register is simply a row of

Register design A CPU register is simply a row of flip-flops (i.e. SR, JK, T, etc) put side by side in an array to make the size of register required. For example, an 8 bit register has 8 flip-flops side by side for stor ...

A detailed review of spatial modulation and simulation

A Detailed Review of Spatial Modulation and Simulation Learning Outcomes a. Learn how to model mobile communication channels d. Discern knowledge development and directions on the recent advances in 4G to the research pr ...

Mine safety amp environmental engineering assignment -part

Mine Safety & Environmental Engineering Assignment - Part 1 - Questions 1. Occupational health and safety is the primary factor that needs to be considered in the mining industry. Discuss this statement. 2. Define the fo ...

Projectflow processing of liquor in a mineral refining

Project Flow Processing of Liquor in a Mineral Refining Plant The aim of this project is to design a flow processing system of liquor (slurry) in a mineral (aluminum) refining plant. Aluminum is manufactured in two phase ...

Learning outcomes evaluate multiuser communication and

Learning Outcomes Evaluate multiuser communication and resource sharing techniques; Apply the techniques of, and report on, digital communication applications using Matlab and hardware devices. Assignment Description The ...

Operations engineering assignment -please select only one

Operations Engineering Assignment - Please select only one of the following case studies for your assignment: CASE A. Tesla Motors Tesla is an innovative manufacturer that designs, assemble and sells fully electric vehic ...

Select a risk problem from the list below and prepare a

Select a risk problem from the list below and prepare a risk management plan in accordance with AS/NZS ISO 31000:2009. Please ensure that: - Establish the context clearly, in accordance with the Standard; - Define your s ...

Engineering materials term paper assignment -conduct a

ENGINEERING MATERIALS TERM PAPER ASSIGNMENT - Conduct a thorough literature search and write a 15-20 page technical review paper on the evolution of the engineering materials used in the manufacturing of any one of the f ...

Task 1using the lab kit design a circuit for the processor

Task 1: Using the lab kit, design a circuit for the processor to control the output of a connected 7-segment LED display device. You will be provided with a standard common anode 7-segment display of the type FND-507 (or ...

Control theory - lab reportsfor experiments 1 to 4 you must

Control Theory - Lab Reports For experiments 1 to 4 you must undertake the following: a) At the start of each section (including the pre-lab activities) there are a number learning outcomes. That is, what students should ...

  • 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

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As