Question: 9. Translate the high-level assignment statements, for the example CPU as per its Instruction Set (consisting of 7 machine instructions). Write machine code for the
9. Translate the high-level assignment statements, for the example CPU as per its Instruction Set (consisting of 7 machine instructions). Write machine code for the translated statements assuming they are saved from address A0H.
while(x x=x+w; } Assume that w, x, y and z are 12 bit integer variables available in system RAM at locations F0, F1, F2 and F3 respectively where w=1, x=1, y=10 and z=0.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
