Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

Assembly language: program completely into one that prompts the user for the length and width of a rectangle, and displays the perimeter of that rectangle, which is: 2 * (length + width). Create your...

1 answer below »

Assembly language: program completely into one that prompts the user for the length and width of a rectangle, and displays the perimeter of that rectangle, which is: 2 * (length + width). Create your own sensible pop-up window titles.

An example execution of your program could result in the following three I/O windows:

Please enter the length of your rectangle: 20
Please enter the width of your rectangle: 13
The perimeter of your rectangle is 66

look at CH4 to do this programming


book: Introduction to 80x86 Assembly Language and Computer Architecture (3rd Edition), by Richard C. Detmer, Jones and Bartlett Publishers, 2015. ISBN: XXXXXXXXXX.

Answered Same Day Sep 19, 2021

Solution

Aditya answered on Sep 20 2021
149 Votes
; Example assembly language program -- parameter of rectange
; Author: R. Detme
; Date: 1/2013
.586
.MODEL FLAT
INCLUDE io.h                ; header file for input/output
.STACK 4096
.DATA
length DWORD ?
width DWORD ?
prompt1 BYTE "Please enter the length of your rectangle: ", 0
prompt2 BYTE "Please enter the width of...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here