Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please explain as well. 1. (28 points) For each of the following questions, assume that the registers are initialized to the following values (i.e., each

Please explain as well.image text in transcribed

1. (28 points) For each of the following questions, assume that the registers are initialized to the following values (i.e., each part is independent of the others). Note: ML is short for memory location. Give the contents of the registers after each instruction is executed. All numbers shown are HEX numbers except when noted otherwise. DO NOT leave any box empty (even if the contents don't change) - empty boxes will be counted wrong! Also, do not use a DASHin a box and do not forget the $-sign for hex numbers. A. ADDA #$80 A PC $C000 X $9FFE Y $9FFF ML($A000) ML($A001) ML($A002) $3C $CC $80 $80 Initial After B. LDAA.2.x A PC $C000 $C002 X $9FFE Y $9FFF ML($A000) ML($A001) ML($A002) $3C $CC $80 Initial After $80 C. STY.2.Y. PC $C000 A X $9FFE Y $9FFF ML(SA000) ML(SA001) ML(SA002) $3C $CC $80 $80 Initial After D. SUBA 3.Y X Y PCA $C000 ML(SA000) ML(SA001) ML(SA002) $3C $CC $80 Initial After $80 $9FFE $9FFF 1. (28 points) For each of the following questions, assume that the registers are initialized to the following values (i.e., each part is independent of the others). Note: ML is short for memory location. Give the contents of the registers after each instruction is executed. All numbers shown are HEX numbers except when noted otherwise. DO NOT leave any box empty (even if the contents don't change) - empty boxes will be counted wrong! Also, do not use a DASHin a box and do not forget the $-sign for hex numbers. A. ADDA #$80 A PC $C000 X $9FFE Y $9FFF ML($A000) ML($A001) ML($A002) $3C $CC $80 $80 Initial After B. LDAA.2.x A PC $C000 $C002 X $9FFE Y $9FFF ML($A000) ML($A001) ML($A002) $3C $CC $80 Initial After $80 C. STY.2.Y. PC $C000 A X $9FFE Y $9FFF ML(SA000) ML(SA001) ML(SA002) $3C $CC $80 $80 Initial After D. SUBA 3.Y X Y PCA $C000 ML(SA000) ML(SA001) ML(SA002) $3C $CC $80 Initial After $80 $9FFE $9FFF

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_2

Step: 3

blur-text-image_3

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

Fundamentals Of Database System

Authors: Elmasri Ramez And Navathe Shamkant

7th Edition

978-9332582705

More Books

Students also viewed these Databases questions

Question

What is the education level of your target public?

Answered: 1 week ago

Question

What advertising media and promotional tactics will you use?

Answered: 1 week ago