Answer:
Due to the incumbent instruction which is able to obtain the involved in the phase execution of 3 clock cycles, the Sussex Educational Processor executes an instruction every 3 clock cycles and afterwards the instruction is while through the execution phase data is originated.
1st Clock Cycle: IF(Insruction Fetch)): The next instruction is Fetching which takes place by the memory through the addressed stored in the Program counter of Registered as well as it also save IT IN instruction registered.
2nd Clock Cycle: ID (instruction Decode) In the instruction registered, the instruction decoding is done then the computations form next program counter is decipher as well as started where the necessary operands by the registered file.
3rd Clock Cycle: EX (Execute) by completion of the internal; Arithmetic logic unit operations, the execution of the instruction is done. Arithmetic logic unit operations are the bitwise logical, arithmetic, bit shift arrhythmic.
d) Explain and justify what is the maximum addressable memory for the processor using the mov instruction (note that this is not the amount of available memory, which was 32 bytes in the labs; it's the maximum amount of memory which could be ‘touched’ by the processor).
Answer:
There is the following mov instruction;
mov (ax,ax)
mov (bx,ax)
mov (cx,ax)
mov (dx,ax)
In the first instruction which accomplished the absolutely nothing. Because the values copied from the ax back into the ax register. Into the ax there are the three instruction bx,cx,dx copy the values.
In the memory to access the data, the instruction set is always uses the three addressing modes.
mov([1000],ax);
mov([bx],ax);
mov([bx+1000],ax);
In the first instruction, the direct addressing mode is used.
The mov([.1000],ax); where the instruction loads the ax by the value where the location of memory is specified through the contents of the bx registered, rather than simply storing the
bx; value into ax; and it is called the indirect addressing modes.
ov([1000],ax);
mov([bx],ax);
mov([bx+1000],ax); is the indirect addressing mode.
To access the array where the elements are in the successive memory location in index mode.
g) Consider the program below. Explain line by line the operation performed by the instruction and the resulting register values for registers RA, RB, RC, RD. W
RA RB RC RD
mov rb, 32h 00 00 00 7fh
xor rd, rd 00 00 00 7fh
sub rd, rb 00 7f 00 7fh
shr rb 00 2f 00 7fh
asr rb 00 3f 00 Rf
After the recursion or the instruction;
rb is loaded with 3f
rd is loaded with BFh