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