/usr/share/z88dk/lib/z80rules.0 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 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 | call l_pint
ld a,h
or l
=
call l_pint_eq
call l_gint ;%9
ld a,h
or l
=
call l_gint_eq ;%9
call l_long%1
call l_int2long_s
=
call l_long%1
ld hl,_%1
push hl
call l_gint ;%9
%2c hl
pop de
call l_pint
=
ld hl,(_%1)
%2c hl
ld (_%1),hl
ld hl,_%1
push hl
pop bc
pop hl
push hl
push bc
ld l,(hl)
ld h,0
add hl,hl
pop de
add hl,de
push hl
call l_gint ;%9
inc hl
pop de
call l_pint
=
pop hl
push hl
ld l,(hl)
ld h,0
add hl,hl
ld de,_%1
add hl,de
ld e,(hl)
inc hl
ld d,(hl)
inc de
ld (hl),d
dec hl
ld (hl),e
ex de,hl
ld hl,%1
ld a,h
or l
jp %2
ld hl,%1
=
ld hl,%1
ld a,h
or l
jp %2
push hl
pop bc
pop hl
push hl
push bc
=
pop de
push de
push hl
ex de,hl
pop hl
push hl
inc hl
inc hl
pop de
push de
push hl
ex de,hl
inc hl
inc hl
=
pop hl
push hl
inc hl
inc hl
push hl
pop hl
push hl
ld bc,%1
add hl,bc
ld (hl),%2
inc hl
ld (hl),%3
pop hl
push hl
ld bc,%4
add hl,bc
=
pop hl
push hl
ld bc,%1
add hl,bc
ld (hl),%2
inc hl
ld (hl),%3
ld bc,%4-(%1)-1
add hl,bc
pop hl
push hl
ld bc,%1
add hl,bc
ld (hl),%2
pop hl
push hl
ld bc,%3
add hl,bc
=
pop hl
push hl
ld bc,%1
add hl,bc
ld (hl),%2
ld bc,%3-(%1)
add hl,bc
ld hl,%1 ;const
push hl
call l_gint ;%3
%2c hl
pop de
call l_pint
=
ld hl,(%1)
%2c hl
ld (%1),hl
call l_eq
ld de,0 ;const
ex de,hl
call l_eq
jr c,%1
=
call l_eq
jr nc,%1
call l_eq
ld de,0 ;const
ex de,hl
call l_eq
jr nc,%1
=
call l_eq
jr c,%1
call l_pint
ld de,%1 ;const
ex de,hl
=
call l_pint_ex
ld hl,%1 ;const
pop de
call l_pint
=
call l_pint_pop
push hl
call l_gint ;%9
ld h,0
call l_pint_pop
=
call l_gint
ld h,0
ld hl,%1 ;const
call l_gint
ld h,0
ld de,%2 ;const
ex de,hl
=
ld de,(%1)
ld hl,%2 ;const
ld hl,%1 ;const
call l_and
ld de,%1 ;const
ex de,hl
call l_eq
=
ld hl,%1 ;const
call l_and
call l_eq
ld de,%1 ;const
ex de,hl
call l_eq
=
ld de,%1 ;const
call l_eq
ld hl,%1 ;const
ld l,(hl)
ld h,0
=
ld hl,(%1)
ld h,0
%1c hl
ld hl,%2
=
ld hl,%2
ld hl,_udata%1
ld (hl),#(%2 % 256)
inc hl
ld (hl),#(%2 / 256)
ld hl,%3
=
ld hl,%2
ld (_udata%1),hl
ld hl,%3
call l_gint ;
call l_pint
ld hl,%1
=
ld a,(hl)
ld (de),a
inc hl
inc de
ld a,(hl)
ld (de),a
ld hl,%1
|