Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please write an assembly program that read the width and height of a rectangle box from user input, compute the perimeter of the box (

Please write an assembly program that read the width and height of a

rectangle box from user input, compute the perimeter of the box

( 2*(width+height); you can use wigth+wigth+height+height instead).

Your output should look like this:

Here are some tips:

1)How to display a string?image text in transcribedimage text in transcribed

2)How to read a decimal integer from user?

call ReadDec

the integer will be saved to EAX

3)How to print a new line (line print a in Java or C ...):

call Crlf

4)How to display an integer (the integer should be in EAX register):

call WriteInt

Under

.data

You need to define the strings, and some DWORD variables

to store the width, height, and perimeter

please slove this question as soon as possible before 11:30PM tonight today.Please slove it.Thanks.

lab1 (2019W) COMPmylnfo M How To Use Textbook X Get Homework Help W/X e Search Textbook Soluti e l Need Help Fixing My https://mycourselink.lakeheadu.ca/d2l/le/content/57578/viewContent/680795/View Please write an assembly program that read the width and height of a rectangle box from user input, compute the perimeter of the box (2*(width+height); you can use wigth+wigth+height+height instead). Your output should look like this: lease enter the height of a box (integer):2 lease enter the width of a box (integer):3 erimeter of the box with width 3 and height 2 is: +10 Here are some tips: 1) How to display a string? Writestring PROC | 1 |12 View as Text 843 PM O Type here to search

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

Oracle Databases On The Web Learn To Create Web Pages That Interface With Database Engines

Authors: Robert Papaj, Donald Burleson

11th Edition

1576100995, 978-1576100998

More Books

Students also viewed these Databases questions