Bit and flag manipulation
|
BitManip | Copying, clearing, setting and rotating bits
|
SwapVals | Swapping data without temporary variable
|
FlagManip | Setting and clearing flags
|
Arithmetic
|
Decrement | 16-bit, 24-bit, 32-bit, etc. decrement
|
Counting | Unusual counting
|
Conversion and calculations
|
BCD | Converting 8-bit Binary Coded Decimal
|
SqRoot | Calculate integer Square Root
|
60to100 | Multiply by 1.66 to convert 1/60ths to 1/100ths
|
Times60 | Routines to multiply by 60 and 100
|
Divide60 | Routines to divide by multiples of 60 and 100
|
Denormal | Denormalising floating point numbers
|
6502Divide | Routines to divide by various constants
|
Stack manipulation
|
StackWS | Using stack for workspace
|
StackWS.src (L)
| Demo of using stack for workspace
|
StackMem | Subroutines to stack memory
|
Dates and Time
|
DayOfWeek
DofWeek
(L) | Calculating day of week for 1900-2155
|
DayOfWk16a
DofWeek16a
(L) | Calculating day of week for any 16-bit year
|
DayOfWk16b
DofWeek16b
(L)
|
DateUpdate | Incrementing a date to the next month
|