Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Semantics In Databases Second International Workshop Dagstuhl Castle Germany January 2001 Revised Papers Lncs 2582

Authors: Leopoldo Bertossi ,Gyula O.H. Katona ,Klaus-Dieter Schewe ,Bernhard Thalheim

2003rd Edition

3540009574, 978-3540009573

More Books

Students also viewed these Databases questions

Question

3. Write a policy statement to address these issues.

Answered: 1 week ago

Question

2. Why has the conflict escalated?

Answered: 1 week ago