Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

assembly language code that works with yasm please 1. Declare a quad-word (64 bits) variable (i.e. Label) in the DATA segment of the source code.

image text in transcribed
assembly language code that works with yasm please 1. Declare a quad-word (64 bits) variable (i.e. Label) in the DATA segment of the source code. This Label will store an INTEGER NUMBER value entered by the user at runtime using the "C" scanf0) function. 2. Declare a FORMAT string for use with the "C" scanf) function that will accept exactly ONE INTEGER 3. Declare a FORMAT string for use by the "C" printf) function that PROMPTS the user to enter the 4. Declare a FORMAT string for use with the "C" printf) function to display the following string value using the %i FORMAT SPECIFIER. INTEGER value. Choose YOUR OWN prompt message text for this step. "The ORGINAL INTEGER [ %) represented in HEXADECIMAL notation is [ %XI" The two format specifier "placeholders" will each be replaced by the INTEGER value entered by the user at runtime into the Label declared in Step 1 Use the PROMPT string from Step 3 with printf() to instruct the user to enter a single INTEGER value using the keyboard 5. 6. After the prompt message is displayed in Step 5, "call the scanf0) using the FORMAT string created in Step 2.Store the input value into the Label you declared in Step 1 7. When the number has been entered and stored in memory in the Label created in Step 1, use the C" printf() function to display the ORIGINAL NUMBER as an INTEGER type AND ASLO as a HEXADECIMAL NUMBER by using the FORMAT string created in Step 4 AND the Label from Step 1 to provide the Two DATA values for the %i and %X printf() FORMAT SPECIFIERS. assembly language code that works with yasm please 1. Declare a quad-word (64 bits) variable (i.e. Label) in the DATA segment of the source code. This Label will store an INTEGER NUMBER value entered by the user at runtime using the "C" scanf0) function. 2. Declare a FORMAT string for use with the "C" scanf) function that will accept exactly ONE INTEGER 3. Declare a FORMAT string for use by the "C" printf) function that PROMPTS the user to enter the 4. Declare a FORMAT string for use with the "C" printf) function to display the following string value using the %i FORMAT SPECIFIER. INTEGER value. Choose YOUR OWN prompt message text for this step. "The ORGINAL INTEGER [ %) represented in HEXADECIMAL notation is [ %XI" The two format specifier "placeholders" will each be replaced by the INTEGER value entered by the user at runtime into the Label declared in Step 1 Use the PROMPT string from Step 3 with printf() to instruct the user to enter a single INTEGER value using the keyboard 5. 6. After the prompt message is displayed in Step 5, "call the scanf0) using the FORMAT string created in Step 2.Store the input value into the Label you declared in Step 1 7. When the number has been entered and stored in memory in the Label created in Step 1, use the C" printf() function to display the ORIGINAL NUMBER as an INTEGER type AND ASLO as a HEXADECIMAL NUMBER by using the FORMAT string created in Step 4 AND the Label from Step 1 to provide the Two DATA values for the %i and %X printf() FORMAT SPECIFIERS

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

The Structure Of The Relational Database Model

Authors: Jan Paredaens ,Paul De Bra ,Marc Gyssens ,Dirk Van Gucht

1st Edition

3642699588, 978-3642699580

More Books

Students also viewed these Databases questions

Question

=+management system of the MNE?

Answered: 1 week ago