1. In a computer structure format, the instruction length is 12 bits and the size of an address field is 4 bits. Assume a computer architect has already designed 14 two-address and 36 zero-address instructions. What is the maximum number of one-address instructions that can be added to the instruction set?

2. Marie Code:

A.   Load D
       Skipcond 800
       Jump C
B.    Load D
       Add D
       Store D
       Subt F
       Store E
C.    Load D
       Add E
       Store F
D.    Dec 3
E.    Dec 4
F.    Dec 5

a. Write the above MARIE code in high level language such as JAVA.
b. What are the values of D, E and F after execution?

3. Using CRC polynomial 10011, compute the CRC code word for the information

CRC code word =____

Solution PreviewSolution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

1. Answer:
The 2-address instructions have the opcode of 4 bits and 8 bits for the two addresses (4 bits for each).
The architect can represent the 2-address instructions between:
0000 xxxx xxxx – 1111 xxxx xxxx (since he represented only 14 out of 16 – maximum for 4 bits opcode) => 0000 xxxx xxxx – 1101 xxxx xxxx are 2-address instructions.

Then we know he had represented 36 0-address instructions (no bits are for addresses)....
$18.00 for this solution

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available Systems Architecture Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Upload a file
Continue without uploading

We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats