7 points Your program must be coded for the Intel x86 architecture (IA-32). Code your program...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
7 points Your program must be coded for the Intel x86 architecture (IA-32). Code your program using the template "AL_Template_Irvine32.asm" provided on Canvas. Use VS2022 to code and debug your program, when finished upload here your source code file before the due date/time. The file must be named with the following format: "LastName_FirstName_Assign5_DisplayFormats.asm" The source code file must have all instructions and be able to assemble and run without errors; also, comment on every line of code, with a single line comment, explaining the purpose or functionality of your code. Can use block comments if it merits, too. I will grade: Comments. Procedure documentation. Correct code syntax. Assembles and executes. Source file named correctly and uploaded as required. Used template structure and standards taught in class and in the book. Program -Display Different Formats Write a program that displays the value of a signed integer in 3 different formats. From the main procedure the program shall prompt the user to enter a signed integer (positive or negative), then from a procedure named "DisplayFormats" the program shall output the provided integer value in a decimal, hexadecimal, and binary formats. In addition, the program shall use the procedures available on the Irvine32 library to read, write, convert and output the values to the console. Note that other than commenting your code you must document your procedure/s as shown in subsection 5.2.1 Documenting Procedures of our textbook. Program example: Enter a signed integer: -2 Decimal: -2 Hexadecimal: FFFFFFFE Binary: 11111111 1111 1111 1111 1111 1111 1110 asm files only! Drag n' Drop here or Browse 7 points Your program must be coded for the Intel x86 architecture (IA-32). Code your program using the template "AL_Template_Irvine32.asm" provided on Canvas. Use VS2022 to code and debug your program, when finished upload here your source code file before the due date/time. The file must be named with the following format: "LastName_FirstName_Assign5_DisplayFormats.asm" The source code file must have all instructions and be able to assemble and run without errors; also, comment on every line of code, with a single line comment, explaining the purpose or functionality of your code. Can use block comments if it merits, too. I will grade: Comments. Procedure documentation. Correct code syntax. Assembles and executes. Source file named correctly and uploaded as required. Used template structure and standards taught in class and in the book. Program -Display Different Formats Write a program that displays the value of a signed integer in 3 different formats. From the main procedure the program shall prompt the user to enter a signed integer (positive or negative), then from a procedure named "DisplayFormats" the program shall output the provided integer value in a decimal, hexadecimal, and binary formats. In addition, the program shall use the procedures available on the Irvine32 library to read, write, convert and output the values to the console. Note that other than commenting your code you must document your procedure/s as shown in subsection 5.2.1 Documenting Procedures of our textbook. Program example: Enter a signed integer: -2 Decimal: -2 Hexadecimal: FFFFFFFE Binary: 11111111 1111 1111 1111 1111 1111 1110 asm files only! Drag n' Drop here or Browse
Expert Answer:
Answer rating: 100% (QA)
Program Description The program is designed to take a signed integer input from the user and then display that integer in three different formats decimal hexadecimal and binary It utilizes assembly la... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
D'Souza Company sold 6,000 units of its product for $88 per unit. Each unit had $51.60 in variable cost of goods sold and $10.80 in variable selling and administrative expenses. Compute contribution...
-
Break-Even Sales Under Present and Proposed Conditions Portmann Company, operating at full capacity, sold 1,000,000 units at a price of $190 per unit during the current year. Its income statement is...
-
/ points Your program must be coded for the Intel x86 architecture (IA-32). Code your program using the template"AL_Template_Irvine32.asm" provided on Canvas. Use VS2022 to code and debug your...
-
Determine A in the indicated figures. Fig. 2.40 (a) A 84 (a) 40 B
-
What are the two separate and potentially independent characteristics embodied in the concept of process?
-
Pheromones are compounds secreted by females of many insect species to attract mates. Typically, 1.0 x 10-8 g of a pheromone is sufficient to reach all targeted males within a radius of 0.50 mi....
-
True or False: Balancing a rotor suspected of running near a resonant frequency calls for care when increasing the size of the trial weight indicated by a balance program.
-
A producer of picture frames uses a tracking signal with limits of ±4 to decide whether a forecast should be reviewed. Given historical information for the past four weeks, compute the...
-
Write a paper on one of the following topics: Describe the likely short-run and long-run economic consequences of EITHER (a) The COVID-19 pandemic and the associated lockdowns OR (b) Climate change....
-
Dorothy is considering a new part-time business venture where she would monogram linens and other items. To do this, she would need to upgrade her current sewing machine. Here is what she quickly...
-
suppose an economy is running a government budget deficit. assume that c = c0 + cl(y-t). which one of the following will cause this deficit to become larger? 4. expansionary monetary policy O an...
-
Identify a current corporate leader (or a leader you are familiar with) who uses both verbal and nonverbal messages. Offer an example of how they use this skill to effectively influence others.
-
Can intersectionality be applied beyond its original focus on gender and race to illuminate the intersecting dimensions of power and inequality in areas such as disability, age, nationality, and...
-
How does the concept of intersectionality, as developed by Kimberl Crenshaw, challenge traditional understandings of identity and social categorization by highlighting the interconnectedness and...
-
What are three different types of written interdepartmental or intradepartmental?
-
You are a computer Salesperson The standard price for your computers is $800 dollars but you can still make a profit if you sell them for $600. Lately, your boss has been angry at you for selling...
-
c. f- ([-n, n]) = d. f- ([-1,1]) = Let f: R R be given by f(x) = cos x for all x E R. a. f ([0, ]) = b. f ([0,87])=
-
If the annual fixed costs are 54,000 dinars, the occupation expense represents 20%, the contribution margin is 25%, and the unit selling price is 40 dinars. Required: Calculate the closing point of...
-
Russell (age 50) and Linda (age 45) Long have brought you the following information regarding their income and expenses for the current year. Russell owns and operates a landscaping business called...
-
Diego, age 28, married Dolores, age 27, in 2012. Their salaries for the year amounted to $46,479 and they had interest income of $3,500. Diego and Dolores' deductions for adjusted gross income...
-
Teresa is a civil engineer who uses her automobile for business. Teresa drove her automobile a total of 21,732 miles during 2012, of which 95 percent was business mileage. The actual cost of...
-
See the option quote on IBM from the CBOE Web site on the next page showing options expiring in March and April 2022. a. Which option contract had the most trades that day? b. Which option contract...
-
You are an options dealer who deals in non-publicly traded options. One of your clients wants to purchase a one-year European call option on HAL Computer Systems stock with a strike price of \($20.\)...
-
It is February 21, 2022, and you have decided to purchase 10 June call contracts on eBays stock with an exercise price of \($57.50.\) Because you are buying, you must pay the ask price. How much...
Study smarter with the SolutionInn App