Skip to navigation


Maths: divisionHi

Name: divisionHi [Show more] Type: Variable Category: Maths Summary: Division lookup table
Context: See this variable in context in the source code References: This variable is used as follows: * ProjectPoint (Part 2 of 3) uses divisionHi

This table contains the high byte of the division lookup table, while bits 3 to 7 of divisionLo contain the low byte.
.divisionHi EQUB &FF, &FE, &FD, &FC, &FB, &FA, &F9, &F8 EQUB &F7, &F6, &F5, &F4, &F3, &F2, &F1, &F0 EQUB &EF, &EF, &EE, &ED, &EC, &EB, &EA, &E9 EQUB &E9, &E8, &E7, &E6, &E5, &E4, &E4, &E3 EQUB &E2, &E1, &E1, &E0, &DF, &DE, &DD, &DD EQUB &DC, &DB, &DA, &DA, &D9, &D8, &D8, &D7 EQUB &D6, &D5, &D5, &D4, &D3, &D3, &D2, &D1 EQUB &D1, &D0, &CF, &CF, &CE, &CD, &CD, &CC EQUB &CB, &CB, &CA, &C9, &C9, &C8, &C8, &C7 EQUB &C6, &C6, &C5, &C5, &C4, &C3, &C3, &C2 EQUB &C2, &C1, &C0, &C0, &BF, &BF, &BE, &BE EQUB &BD, &BC, &BC, &BB, &BB, &BA, &BA, &B9 EQUB &B9, &B8, &B8, &B7, &B7, &B6, &B6, &B5 EQUB &B5, &B4, &B4, &B3, &B3, &B2, &B2, &B1 EQUB &B1, &B0, &B0, &AF, &AF, &AE, &AE, &AD EQUB &AD, &AC, &AC, &AB, &AB, &AB, &AA, &AA EQUB &A9, &A9, &A8, &A8, &A7, &A7, &A7, &A6 EQUB &A6, &A5, &A5, &A4, &A4, &A4, &A3, &A3 EQUB &A2, &A2, &A2, &A1, &A1, &A0, &A0, &A0 EQUB &9F, &9F, &9E, &9E, &9E, &9D, &9D, &9C EQUB &9C, &9C, &9B, &9B, &9B, &9A, &9A, &99 EQUB &99, &99, &98, &98, &98, &97, &97, &97 EQUB &96, &96, &96, &95, &95, &94, &94, &94 EQUB &93, &93, &93, &92, &92, &92, &91, &91 EQUB &91, &90, &90, &90, &90, &8F, &8F, &8F EQUB &8E, &8E, &8E, &8D, &8D, &8D, &8C, &8C EQUB &8C, &8B, &8B, &8B, &8B, &8A, &8A, &8A EQUB &89, &89, &89, &88, &88, &88, &88, &87 EQUB &87, &87, &86, &86, &86, &86, &85, &85 EQUB &85, &85, &84, &84, &84, &83, &83, &83 EQUB &83, &82, &82, &82, &82, &81, &81, &81 EQUB &81, &80, &80, &80, &80, &7F, &7F, &7F