Nvis 5586A
Nvis Technologies Pvt. Ltd.
159
4.
Execute the program and observe the value in AX, the result will be AX=5000H. The
output in packed BCD form is available in the register AX. A decimal point is to be
assumed before the first BCD digit.
5.
Execute the program for various values of Sin Z.
Input
Output Sin Z
(AL)
(AX)
10
2756 Sin 16
2E
7193 Sin 46
3C
8660 Sin 60
56
9976 Sin 86
The stack operation on execution of each instruction.
1.
FLDI ARGI
ST (0)
————
ARGI z
————
2.
FILD ARG2
ST (0)
ARG 180°
ST (1)
ARGI Z
3.
FDIVRP
ST (0)
Z/180
4.
FLDPI
ST (0)
PI
ST (1)
Z/180
5.
FMULRP
ST (0)
PI * Z/180
ST (1)
Z/180
6.
FPTAN
ST (0)
X
ST (1)
Y
ST (2)
Z/180
7.
FLX ST (0)
ST (0)
X
ST (1)
X
ST (2)
Y
ST (3)
Z/180
8.
FMUL ST (0), ST (1)
ST (0)
X
2
Summary of Contents for 5586A
Page 2: ...Nvis 5586A Nvis Technologies Pvt Ltd 2...
Page 23: ...Nvis 5586A Nvis Technologies Pvt Ltd 23 Memory Read Timing in Maximum Mode...
Page 30: ...Nvis 5586A Nvis Technologies Pvt Ltd 30...
Page 48: ...Nvis 5586A Nvis Technologies Pvt Ltd 48 Diagram of module RESET power Instruction Set Note...