HP 9835A Programming Manual page 118

35 series desktop computer assembly development rom
Table of Contents

Advertisement

Arithmetic
101
Table 1. Routines, Addresses, and Parameters for ReI_Math Utility
Routine
Execution Address
Operands
(LDB =)
(LDA =)
Addition
306208
2
Subtraction
306128
2
Multiplication
307328
2
Division
311008
2
Exponentiation
340668
2
DIV
325748
2
MOD
327258
2
SQR
312408
1
INT
326378
1
FRACT
330528
1
EXP
337638
1
LOG
337738
1
LGT
340538
1
PROUND
320158
-2
DROUND
320378
-2
A8S
326228
1
SGN
334418
1
PI
360578
0
RND
333778
0
RES
360778
0
-typ
67338
1
SIN
340038
1
COS
340148
1
TAN
337418
1
ASN
340258
1
ACS
340408
1
ATN
337518
1
ERRLl
617658
0
ERRNI
617538
0
DECIMALl
1620268
1
IADR
1621678
-2
IMEM
1621508
-2
OCTAL
1621058
1
AND
316328
2
OR
316478
2
EXOR
316158
2
NOT
316618
1
Less Than
«)
316678
2
Less Than or Equal To ( < = )
316758
2
Not Equal
«»
317278
2
Equal(=)
317178
2
Greater Than or Equal To (>=)
317118
2
Greater Than
317038
2
I
1 These functions return an integer value which is stored in the second word of the four words reserved by Result.

Advertisement

Table of Contents
loading

Table of Contents