This file is indexed.

/usr/share/z88dk/lib/81fp.def is in z88dk-data 1.8.ds1-10.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
lstoff

; ZX 81 stack calculator functions (ZX81 version of ZXFP)

; $Id: 81fp.def,v 1.5 2003/03/27 09:34:55 stefano Exp $

; function codes:

		; RST 28h activates the FP calculator
		DEFC	ZXFP_BEGIN_CALC	= $28

		DEFC	ZXFP_STK_PTR	= $401C

		DEFC	ZXFP_STK_STORE	= $12C3
		DEFC	ZXFP_TEST_5_FP	= $19EB
		DEFC	ZXFP_STK_STR	= $12C3
		DEFC	ZXFP_STK_FETCH	= $13F8
		DEFC	ZXFP_STACK_A	= $151D
		DEFC	ZXFP_STACK_BC	= $1520
		DEFC	ZXFP_FP_TO_BC	= $0BF5
		DEFC	ZXFP_FP_TO_A	= $0C02
		DEFC	ZXFP_INT_TO_FP	= $1548
		DEFC	ZXFP_DEC_TO_FP	= $14D9

		DEFC	ZXFP_JUMP_TRUE	= $00
		DEFC	ZXFP_EXCHANGE	= $01
		DEFC	ZXFP_DELETE	= $02

		DEFC	ZXFP_SUBTRACT	= $03
		DEFC	ZXFP_MULTIPLY	= $04
		DEFC	ZXFP_DIVISION	= $05
		DEFC	ZXFP_TO_POWER	= $06
		DEFC	ZXFP_OR		= $07
		DEFC	ZXFP_NO_AND_NO	= $08
		DEFC	ZXFP_NO_L_EQL	= $09
		DEFC	ZXFP_NO_GR_EQL	= $0A
		DEFC	ZXFP_NOS_NEQL	= $0B
		DEFC	ZXFP_NO_GRTR	= $0C
		DEFC	ZXFP_NO_LESS	= $0D
		DEFC	ZXFP_NOS_EQL	= $0E

		DEFC	ZXFP_ADDITION	= $0F

		DEFC	ZXFP_STR_AND_NO	= $10	; String and Number
		DEFC	ZXFP_STR_L_EQL	= $11	; String <=
		DEFC	ZXFP_STR_GR_EQL	= $12	; String >=
		DEFC	ZXFP_STRS_NEQL	= $13	; String <>
		DEFC	ZXFP_STRS_GRTR	= $14	; String >
		DEFC	ZXFP_STRS_LESS	= $15	; String <
		DEFC	ZXFP_STRS_EQL	= $16	; String =
		DEFC	ZXFP_STRS_ADD	= $17	; String addition
		
		DEFC	ZXFP_NEGATE	= $18

		DEFC	ZXFP_CODE	= $19
		DEFC	ZXFP_VAL	= $1A
		DEFC	ZXFP_LEN	= $1B

		DEFC	ZXFP_SIN	= $1C
		DEFC	ZXFP_COS	= $1D
		DEFC	ZXFP_TAN	= $1E
		DEFC	ZXFP_ASN	= $1F
		DEFC	ZXFP_ACS	= $20
		DEFC	ZXFP_ATN	= $21
		DEFC	ZXFP_LN 	= $22
		DEFC	ZXFP_EXP	= $23
		DEFC	ZXFP_INT	= $24
		DEFC	ZXFP_SQR	= $25
		DEFC	ZXFP_SGN	= $26
		DEFC	ZXFP_ABS	= $27

		DEFC	ZXFP_PEEK	= $28
		DEFC	ZXFP_USR_NO	= $29
		
		DEFC	ZXFP_STRS	= $2A
		DEFC	ZXFP_CHRS	= $2B
		DEFC	ZXFP_NOT	= $2C

		DEFC	ZXFP_DUPLICATE	= $2D
		DEFC	ZXFP_N_MOD_M	= $2E
		
		DEFC	ZXFP_JUMP	= $2F
		DEFC	ZXFP_STK_DATA	= $30		
		DEFC	ZXFP_DEC_JR_NZ	= $31
		
		DEFC	ZXFP_LESS_0	= $32
		DEFC	ZXFP_GREATER_0	= $33
		
		DEFC	ZXFP_END_CALC	= $34	; END

		DEFC	ZXFP_GET_ARGT	= $35
		DEFC	ZXFP_TRUNCATE	= $36
		DEFC	ZXFP_FP_CALC_2	= $37

		DEFC	ZXFP_E_TO_FP	= $38
		
		DEFC	ZXFP_SERIES_00	= $80
		DEFC	ZXFP_SERIES_01	= $81
		DEFC	ZXFP_SERIES_02	= $82
		DEFC	ZXFP_SERIES_03	= $83
		DEFC	ZXFP_SERIES_04	= $84
		DEFC	ZXFP_SERIES_05	= $85
		DEFC	ZXFP_SERIES_06	= $86
		DEFC	ZXFP_SERIES_07	= $87
		DEFC	ZXFP_SERIES_08	= $88
		DEFC	ZXFP_SERIES_09	= $89
		DEFC	ZXFP_SERIES_0A	= $8A
		DEFC	ZXFP_SERIES_0B	= $8B
		DEFC	ZXFP_SERIES_0C	= $8C
		DEFC	ZXFP_SERIES_0D	= $8D
		DEFC	ZXFP_SERIES_0E	= $8E
		DEFC	ZXFP_SERIES_0F	= $8F
		DEFC	ZXFP_SERIES_10	= $90
		DEFC	ZXFP_SERIES_11	= $91
		DEFC	ZXFP_SERIES_12	= $92
		DEFC	ZXFP_SERIES_13	= $93
		DEFC	ZXFP_SERIES_14	= $94
		DEFC	ZXFP_SERIES_15	= $95
		DEFC	ZXFP_SERIES_16	= $96
		DEFC	ZXFP_SERIES_17	= $97
		DEFC	ZXFP_SERIES_18	= $98
		DEFC	ZXFP_SERIES_19	= $99
		DEFC	ZXFP_SERIES_1A	= $9A
		DEFC	ZXFP_SERIES_1B	= $9B
		DEFC	ZXFP_SERIES_1C	= $9C
		DEFC	ZXFP_SERIES_1D	= $9D
		DEFC	ZXFP_SERIES_1E	= $9E
		DEFC	ZXFP_SERIES_1F	= $9F

		DEFC	ZXFP_STK_ZERO	= $A0
		DEFC	ZXFP_STK_ONE	= $A1
		DEFC	ZXFP_STK_HALF	= $A2
		DEFC	ZXFP_STK_PI_D_2	= $A3
		DEFC	ZXFP_STK_TEN	= $A4
		
		DEFC	ZXFP_ST_MEM_0	= $C0
		DEFC	ZXFP_ST_MEM_1	= $C1
		DEFC	ZXFP_ST_MEM_2	= $C2
		DEFC	ZXFP_ST_MEM_3	= $C3
		DEFC	ZXFP_ST_MEM_4	= $C4
		DEFC	ZXFP_ST_MEM_5	= $C5

		DEFC	ZXFP_GET_MEM_0	= $E0
		DEFC	ZXFP_GET_MEM_1	= $E1
		DEFC	ZXFP_GET_MEM_2	= $E2
		DEFC	ZXFP_GET_MEM_3	= $E3
		DEFC	ZXFP_GET_MEM_4	= $E4
		DEFC	ZXFP_GET_MEM_5	= $E5

		; System variables
		DEFC	ZXFP_CH_ADD	= $4016

lston