Can someone answer my question and write the coding:
a) Write and execute a program that computes the area of two circles whose diameters are stored in memory locations $400550 and $400560, and save the area of these circles in memory locations $400570 and $400580. The calculation process of the area must be done in a Subroutine.
b) Write and execute a program that will compute the area of two right angle triangles and stored the results in data registers. The side lengths of the first triangle are stored in memory locations $400500 and $400501 whereas for the second triangle, the side lengths can be found in locations $400600 and $400601. The calculation process of the area must be done in a subroutine