Question: Q1) 125Pts) A sample program for the Educational-CPU is provided below in machine code and the assembler a. Fill-in the Program Counter (PC) column for

Q1) 125Pts) A sample program for the Educational-CPU is provided below in machine code and the assembler a. Fill-in the Program Counter (PC) column for each instruction, and the (a), (b), (e), (d), (e) fields. b. Complete the table of memory addresses and registers with their updated content after the program execution. Program Memory Counter (PC) Assembly Program ARRAY EOU $1000 SUM EQU SIOIO ORG S1O0 DAT SO1, sos, $03, SOA, 504 ORG S0050 CLR A s0oso 05 (a) START LDA IX, ARRAY CLR B 60 00 ) AGAIN ADD A. IX+00 70 45 50 41 82 01 20 10 10 INC IX INC B CMP B, Sos BNE AGAIN 01 05 (d) (el STA A, SUM swI C3 Mem. Address or Register Data (After program execution Register Code for Ai, KI, Kli Fields 001 101 50050 51010 PC Q1) 125Pts) A sample program for the Educational-CPU is provided below in machine code and the assembler a. Fill-in the Program Counter (PC) column for each instruction, and the (a), (b), (e), (d), (e) fields. b. Complete the table of memory addresses and registers with their updated content after the program execution. Program Memory Counter (PC) Assembly Program ARRAY EOU $1000 SUM EQU SIOIO ORG S1O0 DAT SO1, sos, $03, SOA, 504 ORG S0050 CLR A s0oso 05 (a) START LDA IX, ARRAY CLR B 60 00 ) AGAIN ADD A. IX+00 70 45 50 41 82 01 20 10 10 INC IX INC B CMP B, Sos BNE AGAIN 01 05 (d) (el STA A, SUM swI C3 Mem. Address or Register Data (After program execution Register Code for Ai, KI, Kli Fields 001 101 50050 51010 PC
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
