Question: Please help me in solving these assembly language questions ASAP. Thanks 1. Write programs with the following I/O. all variables are int type / a/

Please help me in solving these assembly language questions ASAP. Thanks

Please help me in solving these assembly language questions ASAP. Thanks 1.

Write programs with the following I/O. all variables are int type /

1. Write programs with the following I/O. all variables are int type / a/ / \ w | leng Enter the measurements for sides a,b, and c of the triangle: 10 7 13 Perimeter = 30 Enter the measurements of w and leng for the rectangle: 7 10 Perimeter = 34 2. Compute the value of the following expressions for: short a=5, b=8, c1, c2,c3, c4; cl=2a + 3b; c2 = 4(a+b ) + 3a; c3 = a+++ --b; c4 = 5a + 6b; output: cl = 34 c2 = .... c3 = c4 = 3. Trace the following by hand and type your answers at the space provided ax = mov add ax,-5; ax, -3; ...base 2 base 16 ax = ...................... mov add add dec bx, 4 bx, bx bx, bx bx; bx = .base 10 cx, OxA3B2 mov add cx, 0x01F1; cx= ..base 16 mov ah, 'B' add ah, 35; mov cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!