/usr/share/z88dk/lib/zxfp.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 | lstoff
; ZX Spectrum stack calculator functions (ZXFP)
; $Id: zxfp.def,v 1.6 2003/03/17 13:47:01 stefano Exp $
; function codes:
; RST 28h activates the FP calculator
DEFC ZXFP_BEGIN_CALC = $28
DEFC ZXFP_STK_PTR = $5C65
DEFC ZXFP_STK_STORE = $2AB6
DEFC ZXFP_TEST_5_FP = $33A9
DEFC ZXFP_STK_STR = $2AB2
DEFC ZXFP_STK_FETCH = $2BF1
DEFC ZXFP_STACK_A = $2D28
DEFC ZXFP_STACK_BC = $2D2B
DEFC ZXFP_FP_TO_BC = $2DA2
DEFC ZXFP_FP_TO_A = $2DD5
DEFC ZXFP_INT_TO_FP = $2D3B
DEFC ZXFP_DEC_TO_FP = $2C9B
DEFC ZXFP_DO_RESTACK = $3297
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_VAL_STR = $18 ; VAL$
DEFC ZXFP_USR_STR = $19 ; Computes the UDG Addresses
DEFC ZXFP_READ_IN = $1A
DEFC ZXFP_NEGATE = $1B
DEFC ZXFP_CODE = $1C
DEFC ZXFP_VAL = $1D
DEFC ZXFP_LEN = $1E
DEFC ZXFP_SIN = $1F
DEFC ZXFP_COS = $20
DEFC ZXFP_TAN = $21
DEFC ZXFP_ASN = $22
DEFC ZXFP_ACS = $23
DEFC ZXFP_ATN = $24
DEFC ZXFP_LN = $25
DEFC ZXFP_EXP = $26
DEFC ZXFP_INT = $27
DEFC ZXFP_SQR = $28
DEFC ZXFP_SGN = $29
DEFC ZXFP_ABS = $2A
DEFC ZXFP_PEEK = $2B
DEFC ZXFP_IN = $2C
DEFC ZXFP_USR_NO = $2D
DEFC ZXFP_STRS = $2E
DEFC ZXFP_CHRS = $2F
DEFC ZXFP_NOT = $30
DEFC ZXFP_DUPLICATE = $31
DEFC ZXFP_N_MOD_M = $32
DEFC ZXFP_JUMP = $33
DEFC ZXFP_STK_DATA = $34
DEFC ZXFP_DEC_JR_NZ = $35 ; DJNZ
DEFC ZXFP_LESS_0 = $36
DEFC ZXFP_GREATER_0 = $37
DEFC ZXFP_END_CALC = $38 ; END
DEFC ZXFP_GET_ARGT = $39
DEFC ZXFP_TRUNCATE = $3A
DEFC ZXFP_FP_CALC_2 = $3B
DEFC ZXFP_E_TO_FP = $3C
DEFC ZXFP_RE_STACK = $3D
DEFC ZXFP_SERIES_06 = $3E ; Polynomenentwicklung
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
DEFC ZXFP_STK_ZERO = $3F
DEFC ZXFP_STK_ONE = $A1
DEFC ZXFP_STK_HALF = $A2
DEFC ZXFP_STK_PI_D_2 = $A3
DEFC ZXFP_STK_TEN = $A4
; System variables
DEFC ZXFP_CH_ADD = $5C5D
lston
|