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 reasons why companies provide nonqualified deferred compensation plans for certain employees?
-
Sorpon Corporation purchased equipment very late in 2011. Based on generous capital cost allowance rates provided in the Income Tax Act, Sorpon Corporation claimed CCA on its 2011 tax return but did...
-
How is materiality defined in the International Accounting Standards framework?
-
The LP relationships that follow were formulated by Richard Martin at the Long Beach Chemical Company. Which ones are invalid for use in a linear programming problem, and why? Maximize = 6X1 + 12...
-
Keyshawn Brown prepared and signed last year's tax return on April 3 but forgot to mail the return until the morning of April 2 0 . Keyshawn enclosed a check for the $ 5 , 5 1 2 balance of tax due...
-
Ellipses Corp is a small business that operates in Herndon, VA. The company is located at10 Period Lane, Herndon, VA 20170. Its federal Employer Identification Number is 77-7777777, and its...
-
Southland company is preparing a cash budget for august. The company has $16300 cash at the beginning of august and anticipates $124200 in cash receipts snd $133800 in cash payments during august....
-
C&B Bank pays interest of 5 percent compounded annually. B&K Bank pays 5 percent simple interest. Which one of the following statements is true if you invest $1,000 in each bank for six years?
-
Provide some interesting facts about parts 1 and 2 of "FBI trains at body farm" (Sources listed below) https://archives.fbi.gov/archives/news/stories/2009/july/fbi-trains-at-body-farm-part-1...
-
4 . The San Diego Zoo receives 4 elephants from the Bronx Zoo and sends the Bronx Zoo 1 0 flamingoes on loan. How does the San Diego Zoo account for the sharing of animals with the Bronx Zoo, and...
-
Company XYZ sold 2,500 units in July at a price 50% above the unit cost, its unit cost is $ 500. If next month it expects to sell 30% more units at the same price, what will be the quantity of sales...
-
Puan Delima is considering depositing her money into one of the banks for three years. She now has RMIO,OOO in her hand. She is considering the three following alternatives: Alternative 1: Bank A...
-
18) On January 1, Year 1, the Accounts Receivable balance was $31,300 and the balance in the Allowance for Doubtful Accounts was $3,800. On January 15, Year 1, an $1,120 uncollectible account was...
-
What tools are available to help shoppers compare prices, features, and values and check other shoppers opinions?
-
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...
-
What are the reasons for share repurchases?
-
At the end of the first three months of operation, the trial balance of Metropolitan Answering Service, Inc., appears as shown on the opposite page. Oscar Rienzo, the owner of Metropolitan, has hired...
-
What are the methods of share repurchase?
Study smarter with the SolutionInn App