Question: On visual studio basic c++ Paragraph CSC220-Assembly Lab #2, Irvine Ch 3 You will submit 1 file to blackboard Declarations Lab #2 (Irvine Ch 3)
Paragraph CSC220-Assembly Lab #2, Irvine Ch 3 You will submit 1 file to blackboard Declarations Lab #2 (Irvine Ch 3) will be a variation of Page 94 #3 Data Definitions. Variables (.data) You will define 12 variables total, 2 for each of these data types BYTE, SBYTE, WORD, SWORD, DWORD, SDWORD. e 6 variables: For each data type define a variable and initialize to the largest possible value for that data type o .Examples for BYTE, name the variable largestByte, its largest value is 255 for SBYTE, name the variable lacgestsbyte, its largest value is 127 Another 6 variables For each data type define a variable name of your choice and initialize to a valid value of your choice o chickenWing: Eeten?. kittensHugged? zombiexKilled? alienskilled? main" method (pseudo code) I codel - Clear EAX, EBX, ECX, EDX registers (moy O into each- initialize ) . Load the largest signed 32-bit variable into an "A" register - Load the largest signed 16-bit variable into a "B" register Load the largest unsigned 8-bit variable into the high 8 bit "Ch register Load the largest signed 8-bit variable into the low 8 bit "C" regist e Load one of the variables where you chose the value into one call dumpReps D" registers Part A-Grading Rubric [60 points) . 12 declarations each initialized (36 points) . clearing registers (5 points) loading 5 variables into the registers as directed (10 points) calling dumpReRs (5 points) Grading Rubric for both parts (40 Points) your name up top, comments for each data declaration, and each command (or . Comments for logical grouping) in main (18 points) "meaningful variable names" ( 6 of them are of the form largestoaates) (11 points) Neat Indenting (body of main neatly indented) (11 points) Submitting the Lab oe.@@w Paragraph CSC220-Assembly Lab #2, Irvine Ch 3 You will submit 1 file to blackboard Declarations Lab #2 (Irvine Ch 3) will be a variation of Page 94 #3 Data Definitions. Variables (.data) You will define 12 variables total, 2 for each of these data types BYTE, SBYTE, WORD, SWORD, DWORD, SDWORD. e 6 variables: For each data type define a variable and initialize to the largest possible value for that data type o .Examples for BYTE, name the variable largestByte, its largest value is 255 for SBYTE, name the variable lacgestsbyte, its largest value is 127 Another 6 variables For each data type define a variable name of your choice and initialize to a valid value of your choice o chickenWing: Eeten?. kittensHugged? zombiexKilled? alienskilled? main" method (pseudo code) I codel - Clear EAX, EBX, ECX, EDX registers (moy O into each- initialize ) . Load the largest signed 32-bit variable into an "A" register - Load the largest signed 16-bit variable into a "B" register Load the largest unsigned 8-bit variable into the high 8 bit "Ch register Load the largest signed 8-bit variable into the low 8 bit "C" regist e Load one of the variables where you chose the value into one call dumpReps D" registers Part A-Grading Rubric [60 points) . 12 declarations each initialized (36 points) . clearing registers (5 points) loading 5 variables into the registers as directed (10 points) calling dumpReRs (5 points) Grading Rubric for both parts (40 Points) your name up top, comments for each data declaration, and each command (or . Comments for logical grouping) in main (18 points) "meaningful variable names" ( 6 of them are of the form largestoaates) (11 points) Neat Indenting (body of main neatly indented) (11 points) Submitting the Lab oe.@@w
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
