Assembler


         


8087 -
. 8087
SIN; , - FPTAN,
. SIN,
, FPREM (
).
 
, SIN, . 7.27.
1/2 6 1/2
.
:
 
10 FOR X = .5 TO 6.0 STEP .5
20 PRINT SIN(X)
30 NEXT X
 
. 7.25.
 

Microsoft (R) Macro Assembler Version 5.00 1/1/80 04:05:01
. 7.27 Page 1-1
 
 
PAGE ,132
TITLE . 7.27
 
0000 STACK SEGMENT STACK
0000 0040[ DW 64 DUP (?)
????
]
 
0080 STACK ENDS
0000 CODE SEGMENT
ASSUME CS:CODE,DS:CODE,ES:CODE
EXTRN FLOAT_ASCII:NEAR
0000 0001 NUM_ANGLE DW 1
0002 0002 DEN_ANGLE DW 2
0004 ???? STATUS DW ?
0006 0004 FOUR DW 4
= 0040 C3 EQU 40H
= 0004 C2 EQU 04H
= 0002 C1 EQU 02H
= 0001 C0 EQU 01H
0008 93 A3 AE AB 20 E1 AB ERROR_MSG DB ' ', 10, 13, '$'