Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

= b) [7 QUESTION 4) (10 points] The following formulas are used to convert a Polar coordinate to a Cartesien coordinate. x=rcos(a), y=sin(a) The ar

=
image text in transcribed

b) [7 QUESTION 4) (10 points] The following formulas are used to convert a Polar coordinate to a Cartesien coordinate. x=rcos(a), y=sin(a) The ar symbol is angle in degrees (between 0-360), the r symbol is radius. Write a complete 8086 Assembly program to do followings. Define and initialize two arrays (sinus and cosinus) with values given below. Since there are no float numbers in 8086 CPU, the values are given as integers (100 times of float values). Also define two arrays named X and Y, initialize them with zeros. Define a variable named Radius and initialize with value 3. By looping, for each sinus and cosinus values in two arrays, calculate the cartesien coordinate values (x and y) for the Radius value, and store results in the X and Y arrays a O 30 60 90 120 150 1.30 sin(a) 50 86 100 86 50 cos(a) 100 86 50 0 50 46 -100 210 240 270 50 -86 50 46 300 330 -100 -86 50 50 16 A 360 100 munication will be used to send ASCII data

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

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions