Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

pls help CSIT 256 - Arch Lab for Stallings Ch 3 Names 300 Memory, Code Segment: Data Address Contents (HEX) Logical Address Memory Contents 7001

image text in transcribed
pls help
image text in transcribed
CSIT 256 - Arch Lab for Stallings Ch 3 Names 300 Memory, Code Segment: Data Address Contents (HEX) Logical Address Memory Contents 7001 appleSold 940 2008 301 5942 orangeSold 941 0006 302 2942 totalsold 912 DOOE 303 8002 Each row below shows the Fetch and Execution for a command. The memory for the Data Segment is shown as well as the values for PC, IR, AC. Values shown are in HEX START PC 300 AC ? IR ? Inst After Fetch After Execute PC 301 RD 001 PC AC LIR 301 ? 7001 IR Assume 8 read from dev 001 AD 942 PC 302 PC 302 ST 942 PC 303 PC 303 WD 002 304 PC AC The value (hex) is written to device 002 PC - Program Counter-location of NEXT Instruction to be executed AC = Accumulator - Register on CPU used to hold a value IR = Instruction Register - instruction being processed' CSIT 256 - Assembler Lab for Irvine Ch 3 Due 2/17/2020 by 10:15 pm Overview To gain experience declaring variables Lab Come up with 1 variable for each of these types: BYTE, SBYTE, WORD, SWORD, DWORD, SDWORD that's 6 variables ) and assign each a value...for the signed variables a negative number and the unsigned variables a positive number. For each of the 6 variables above, in the comments, describe what is the highest and lowest possible values the data type allows. (the answers are in the slides for Irvine Ch 1 from 1/27) Come up with 1 more variable of any of the above types but not assigned a value. That means to use? for the initializing value. (Note: ? in assembly for declaring variables means the variable is uninitialized) Grading Rubric ( 72 points) Comment for your name up top (5 points) 6 declarations each initialized (18 points) 1 declaration uninitialized ( 3 points) comments for each of the 6 declarations stating min/max for the data type (12 points) Comments for each command (or logical grouping) in.code (18 points) "meaningful variable names" following guidelines (8 points) Neat Indenting (variables flush left, body of main neatly indented) (8 points) Late / Cheating Policy See the syllabus for the Late Policy (don't be late ) and the Cheating Policy (don't cheat) Submitting the Lab Attach the main.asm file to the Assem. Lab i3 assignment Note: Lab for Irvine Ch 4 can be done in the same file as the Lob for Irvine Ch 3, but please submit the file to each assignment

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

Big Data Fundamentals Concepts, Drivers & Techniques

Authors: Thomas Erl, Wajid Khattak, Paul Buhler

1st Edition

0134291204, 9780134291208

More Books

Students also viewed these Databases questions

Question

Write a note on job design.

Answered: 1 week ago

Question

Compute the derivative of f(x)cos(-4/5x)

Answered: 1 week ago

Question

Discuss the process involved in selection.

Answered: 1 week ago

Question

Differentiate tan(7x+9x-2.5)

Answered: 1 week ago

Question

13. You always should try to make a good first impression.

Answered: 1 week ago