DOS INTERNAL SERVICES - Calculate Days since Month Start
Input |
DOS1 |
N |
DOS2 |
N |
DOS3 |
Y |
DOS5 |
Y |
Output |
AX |
12h |
1Ch |
|
|
AX |
BX |
|
|
|
|
BX |
CX |
Number
Code of Current Month |
|
|
CX |
DX |
Total
Days in Prior Year |
|
|
DX |
DS:SI |
Pointer
to Days Per Month Table |
|
CF |
Set Number Days in Prior Year to zero for this year |