Question: please show full work, thank you -ZOOM+ Comp 3350: Computer Organization & Assembly Language HW # 3: Theme: Data declarations, Small program All main questions

 please show full work, thank you -ZOOM+ Comp 3350: Computer Organization

please show full work, thank you

-ZOOM+ Comp 3350: Computer Organization & Assembly Language HW # 3: Theme: Data declarations, Small program All main questions carry equal weight. (Credit awarded to only those answers with work shown) 1. Declare the following: A. An un-initialized data declaration for a 32-bit signed and unsigned integer B. An initialized data declaration for a 32-bit unsigned integer with the value "A45C2EBlh" and a signed integer with the value of your choice. A null terminated string variable containing the name of your favorite car an arithmetic expression that calculates the total number of hours in a Fortnight. C. D. A symbolic constant named "HoursinFortnight" using the equal-sign directive and assign it 2. Show the order of individual bytes in memory (lowest to highest) for the following double word variable (use little endian order): GoTigers DWORD AlB2C3D4h 3. assembler directives: Show the following using A. How to declare an unsigned dword array of five elements and initialize the array with the following values: 1Ah, 2Bh, 3Ch, 4Dh, 5Eh B. Using the array created in part A of this question, show how to calculate the number of elements contained and assign that t valuc to a symbolic constant named "ArraySize" 4. Why is a string variable declared using the reserved word BYTE as opposed to WORD, DWORD or QWORD? S. Using the AddVariables program from the textbook as a reference, write a program that adds three signed byte sized integers using only 8-bit registers. Plense embed program code into your homework submission. 6. Write a program that prints your on your screen. You can use the following. Assemble and generate the output using MASM and Visual Studio. Embed your output in your submission. TITLE My first assembly program INCLUDE Irvine32.inc DATA Message BYTE "FirstName Lastname"0 CODE main PROC mov edx, offset message Call WriteString exit main ENDP END main -ZOOM+ Comp 3350: Computer Organization & Assembly Language HW # 3: Theme: Data declarations, Small program All main questions carry equal weight. (Credit awarded to only those answers with work shown) 1. Declare the following: A. An un-initialized data declaration for a 32-bit signed and unsigned integer B. An initialized data declaration for a 32-bit unsigned integer with the value "A45C2EBlh" and a signed integer with the value of your choice. A null terminated string variable containing the name of your favorite car an arithmetic expression that calculates the total number of hours in a Fortnight. C. D. A symbolic constant named "HoursinFortnight" using the equal-sign directive and assign it 2. Show the order of individual bytes in memory (lowest to highest) for the following double word variable (use little endian order): GoTigers DWORD AlB2C3D4h 3. assembler directives: Show the following using A. How to declare an unsigned dword array of five elements and initialize the array with the following values: 1Ah, 2Bh, 3Ch, 4Dh, 5Eh B. Using the array created in part A of this question, show how to calculate the number of elements contained and assign that t valuc to a symbolic constant named "ArraySize" 4. Why is a string variable declared using the reserved word BYTE as opposed to WORD, DWORD or QWORD? S. Using the AddVariables program from the textbook as a reference, write a program that adds three signed byte sized integers using only 8-bit registers. Plense embed program code into your homework submission. 6. Write a program that prints your on your screen. You can use the following. Assemble and generate the output using MASM and Visual Studio. Embed your output in your submission. TITLE My first assembly program INCLUDE Irvine32.inc DATA Message BYTE "FirstName Lastname"0 CODE main PROC mov edx, offset message Call WriteString exit main ENDP END main

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!