1)For the following memory locations, first indicate the type of reference
(Indirect, Dialed, etc.) and then identify
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
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;
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)
Assume user input via keyboard
of the contents of X and Y.