Course Solutions Uncategorized (Solved) : Please Use Assembly Language Simplest Form Possible Please Don T Copy Previous Work Lookin Q32988539 . . . .

(Solved) : Please Use Assembly Language Simplest Form Possible Please Don T Copy Previous Work Lookin Q32988539 . . . .

 

Please use assembly language in the simplest form possible.Please don’t copy the previous work, I am looking to check the codeitself.

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

EPOWER is as follows:

;Program SIN.ASM: Software driver program for SIN procedure.

.MODEL SMALL
.DATA
X DB 0,1,0,0,0
TEMP DB 5 DUP(?)
ETOX DB 5 DUP(?)
ZERO DB 0,0,0,0,0

.CODE
.STARTUP
CALL EPOWER
.EXIT

EPOWER PROC FAR
LEA SI,ZERO ;predefined constant 0
LEA DI,ETOX
CALL FAR PTR COPY ;clear result
MOV CX,10 ;init loop counter

NEXTERM: LEA SI,X ;compute numerator
MOV AL,CL
CALL FAR PTR POWER
LEA BX,TEMP ;save numerator
CALL FAR PTR SAVE
MOV AL,CL ;compute

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post