Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Find the infinite series for SIN(X) in a calculus book and implement it in a subroutine called SIN. Use EPOWER as an example of how

Find the infinite series for SIN(X) in a calculus book and implement it in a subroutine called SIN. Use EPOWER as an example of how to do this.

image text in transcribed

In current data segment... TEMP ETOX DB DB DB DUP (7 5 DUP(? 5 DUP ? PROC FAR LEA SI.ZERO LEA DI ETOX CALL FAR PTR COPY MOV CX,10 EPOWER :predefined constant clear result init loop counter compute numerator NEXTERM: LEA S?.x MOV AL, CL CALL FAR PTR POWER LEA BX,TEMP CALL FAR PTR SAVE MOV AL,CL CALL FAR PTR FACTORIAL LEA SI,TEMP XCHG BP, DI CALL FAR PTR DIVIDE XCHG BP,D : save numerator compute denominator divide to generate term add current term to result CHAPTER 6 AN INTRODUCTION TO PROGRAMMING THE 80x86 LEASI,ETOX CALLFAR PTR ADDER LEABX, ETOX CALL FAR PTR SAVE LOOP NEXTERM RET ENDP save result EPOWER

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

Visual Basic 4 Ole Database And Controls Superbible

Authors: Michael Hatmaker, C. Woody Butler, Ibrahim Malluf, Bill Potter

1st Edition

1571690077, 978-1571690074

More Books

Students also viewed these Databases questions