-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdivtab.asm
34 lines (34 loc) · 1.25 KB
/
divtab.asm
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
INCLUDE "align.asm"
; 2/x (range 1..1/2) mantissas.
DIVTAB: DEFB $00,$FE,$FC,$FA,$F8,$F6,$F4,$F2
DEFB $F0,$EF,$ED,$EB,$E9,$E7,$E5,$E4
DEFB $E2,$E0,$DE,$DD,$DB,$D9,$D7,$D6
DEFB $D4,$D2,$D1,$CF,$CE,$CC,$CA,$C9
DEFB $C7,$C6,$C4,$C2,$C1,$BF,$BE,$BC
DEFB $BB,$B9,$B8,$B6,$B5,$B3,$B2,$B1
DEFB $AF,$AE,$AC,$AB,$AA,$A8,$A7,$A5
DEFB $A4,$A3,$A1,$A0,$9F,$9D,$9C,$9B
DEFB $9A,$98,$97,$96,$95,$93,$92,$91
DEFB $90,$8E,$8D,$8C,$8B,$8A,$88,$87
DEFB $86,$85,$84,$83,$82,$80,$7F,$7E
DEFB $7D,$7C,$7B,$7A,$79,$78,$76,$75
DEFB $74,$73,$72,$71,$70,$6F,$6E,$6D
DEFB $6C,$6B,$6A,$69,$68,$67,$66,$65
DEFB $64,$63,$62,$61,$60,$5F,$5E,$5E
DEFB $5D,$5C,$5B,$5A,$59,$58,$57,$56
DEFB $55,$54,$54,$53,$52,$51,$50,$4F
DEFB $4E,$4E,$4D,$4C,$4B,$4A,$49,$49
DEFB $48,$47,$46,$45,$44,$44,$43,$42
DEFB $41,$40,$40,$3F,$3E,$3D,$3D,$3C
DEFB $3B,$3A,$3A,$39,$38,$37,$37,$36
DEFB $35,$34,$34,$33,$32,$32,$31,$30
DEFB $2F,$2F,$2E,$2D,$2D,$2C,$2B,$2B
DEFB $2A,$29,$29,$28,$27,$27,$26,$25
DEFB $25,$24,$23,$23,$22,$21,$21,$20
DEFB $1F,$1F,$1E,$1E,$1D,$1C,$1C,$1B
DEFB $1A,$1A,$19,$19,$18,$17,$17,$16
DEFB $16,$15,$15,$14,$13,$13,$12,$12
DEFB $11,$10,$10,$0F,$0F,$0E,$0E,$0D
DEFB $0D,$0C,$0B,$0B,$0A,$0A,$09,$09
DEFB $08,$08,$07,$07,$06,$06,$05,$05
DEFB $04,$04,$03,$03,$02,$02,$01,$01