Computer Science Question

1)For the following memory locations, first indicate the type of reference

(Indirect, Dialed, etc.) and then identify

their contents:

Assume that: REGISTRATION NUMBER TO BE USED:3068

▪ I = n1 × 10, where n1 is the first digit of your registration number.

▪ M[TAG] = n2 × 10, where n2 is the second digit of the register number

your. If n2=0, set n2=1.

e.g. If Registration Number=4065 then n1=4 and n2=1.

▪ and that the contents of the memory locations are what

represented by:

Note:In case the contents of the memory location cannot be determined,write undefined.

2)The TRN Computer represents each command with a specific

number of bits and specific bits are “committed” and

represent specific fields. In the commands below,

if they are correctly represented, identify the fields, identify the

command and state when and if we have Indirect or Dialed

reference, a combination of them, or neither.

3)Implement the following code:

result = 0;

if (input == 12)

result = n1;

else

result = n2;

in the TRN sign language.

Where n1=3 and n2=0

4)Implement the following code in the TRN symbolic language

If (x== n1 && y== n2)

z=x+y?

else

z=x-3;

Assume user input via keyboard

of the contents of X and Y.

Calculate your order
Pages (275 words)
Standard price: $0.00
Client Reviews
4.9
Sitejabber
4.6
Trustpilot
4.8
Our Guarantees
100% Confidentiality
Information about customers is confidential and never disclosed to third parties.
Original Writing
We complete all papers from scratch. You can get a plagiarism report.
Timely Delivery
No missed deadlines – 97% of assignments are completed in time.
Money Back
If you're confident that a writer didn't follow your order details, ask for a refund.

Calculate the price of your order

You will get a personal manager and a discount.
We'll send you the first draft for approval by at
Total price:
$0.00
Power up Your Academic Success with the
Team of Professionals. We’ve Got Your Back.
Power up Your Study Success with Experts We’ve Got Your Back.