Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1._(28 points) For each of the following questions, assume that the registers are initialized to the following values (1.e., each part is independent of the

image text in transcribed

1._(28 points) For each of the following questions, assume that the registers are initialized to the following values (1.e., each part is independent of the others). Note: NZVC are the condition codes and ML is short for memory location. Give the contents of the registers after each instruction is fetched and 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 DASH"-" in a box and do not forget the $-sign for hex numbers. A. ADDA SA000 Y PC SC000 A $80 X $9FFE ML($A000) ML ($A001) ML (SA002) SFF S01 SCC $9FFF Initial After B. LDAA 2.Y PC SC000 A $80 Y S9FFF ML($A000) ML($A001) ML(SA002) SFF S01 SCC S9FFE Initial After C. STX 3,X PC SC000 A $80 Y $9FFF ML($A000) ML($A001) ML($A002) SFF S01 SCC $9FFE Initial After D. SUBA 1,Y PC SC000 A $80 X S9FFE Y $9FFF ML($A000) ML ($A001) ML (SA002) SFF S01 SCC Initial After 1._(28 points) For each of the following questions, assume that the registers are initialized to the following values (1.e., each part is independent of the others). Note: NZVC are the condition codes and ML is short for memory location. Give the contents of the registers after each instruction is fetched and 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 DASH"-" in a box and do not forget the $-sign for hex numbers. A. ADDA SA000 Y PC SC000 A $80 X $9FFE ML($A000) ML ($A001) ML (SA002) SFF S01 SCC $9FFF Initial After B. LDAA 2.Y PC SC000 A $80 Y S9FFF ML($A000) ML($A001) ML(SA002) SFF S01 SCC S9FFE Initial After C. STX 3,X PC SC000 A $80 Y $9FFF ML($A000) ML($A001) ML($A002) SFF S01 SCC $9FFE Initial After D. SUBA 1,Y PC SC000 A $80 X S9FFE Y $9FFF ML($A000) ML ($A001) ML (SA002) SFF S01 SCC Initial After

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

OCA Oracle Database SQL Exam Guide Exam 1Z0-071

Authors: Steve O'Hearn

1st Edition

1259585492, 978-1259585494

More Books

Students also viewed these Databases questions