Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please show the full work, thank you 1. Declare the following: A. An un-initialized data declaration for a 32-bit signed and unsigned integer B. An

image text in transcribed
Please show the full work, thank you
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 "A45C2EBIh" and a signed integer with the value of your choice. C. A null terminated string variable containing the name of your favorite car D. A symbolic constant named "HoursinFortnight" using the equal-sign directive and assign it an arithmetic expression that calculates the total number of hours in a Fortnight. 2. Show the order of individual bytes in memory (lowest to highest) for the following double word variable (use little endian order): GoTigers DWORD A1B2C3D4h 3. Show the following using assembler directives: A. How to declare an unsigned dword array of five elements and initialize the array with the following values: 1Ah, 2Bh, B. Using the array created in part A of this question, show how to calculate the number of elements contained and assign that value 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. Please embed program code into your homework submission. 6. Write a program that prints your FirstName Lastname> 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 program INCLUDE Irvine32.inc DATA Message BYTE "FirstNa CODE mov edx, offset message Call WriteString 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 "A45C2EBIh" and a signed integer with the value of your choice. C. A null terminated string variable containing the name of your favorite car D. A symbolic constant named "HoursinFortnight" using the equal-sign directive and assign it an arithmetic expression that calculates the total number of hours in a Fortnight. 2. Show the order of individual bytes in memory (lowest to highest) for the following double word variable (use little endian order): GoTigers DWORD A1B2C3D4h 3. Show the following using assembler directives: A. How to declare an unsigned dword array of five elements and initialize the array with the following values: 1Ah, 2Bh, B. Using the array created in part A of this question, show how to calculate the number of elements contained and assign that value 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. Please embed program code into your homework submission. 6. Write a program that prints your FirstName Lastname> 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 program INCLUDE Irvine32.inc DATA Message BYTE "FirstNa CODE mov edx, offset message Call WriteString

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

Intelligent Databases Object Oriented Deductive Hypermedia Technologies

Authors: Kamran Parsaye, Mark Chignell, Setrag Khoshafian, Harry Wong

1st Edition

0471503452, 978-0471503453

More Books

Students also viewed these Databases questions

Question

Simplify the expression. (5x 2 y)(-3x 3 y 4 )

Answered: 1 week ago