Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hi can anyone help me with this lab?? Variables .data You will define 1 variable for each of these data types BYTE, SBYTE, WORD, SWORD,

Hi can anyone help me with this lab??

image text in transcribed

Variables .data You will define 1 variable for each of these data types BYTE, SBYTE, WORD, SWORD, DWORD, SDWORD That makes 6 variables altogether. For each data type define a variable name of your choice and initialize to a valid value of your choice ( the value must be within range for the data type, but only 1 of them can be 0) For each of those variables, add a comment that gives the max and min value for that data type Examples ; largest value is 255 and its smallest is 0 ; largest value is 127 and its smallest is -128 chickenWingsEaten BYTE 14 temperatureChange SBYTE3 "main" method (pseudo code) .code Clear EAX, EBX, ECX, EDX registers (mov 0 into each) Load a 32-bit variable into a 32-bit "A" register Load a 16-bit variable into a16-bit "B" register Load a 8-bit variable into the high 8 bit "C" register Load one of the other variables into one of the "D" registers call dumpRegs Grading Rubric 6 declarations each initialized (24 points) comments for each of the 6 declarations stating min/max for the data type (12 points) clearing registers (5 points) loading 4 variables into the registers as directed (20 points) calling dumpRegs (5 points) Comments for: your name up top, and 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)

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

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

3rd Edition

978-1119907466

More Books

Students also viewed these Databases questions

Question

How do modern Dashboards differ from earlier implementations?

Answered: 1 week ago