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: 978-1-284-03612-1.

Answered Same DaySep 19, 2021

Answer To: Assembly language: program completely into one that prompts the user for the length and width of a...

Aditya answered on Sep 20 2021
148 Votes
; Example assembly language program -- parameter of rectange
; Author: R. Detmer
; Date: 1/201
3
.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