MOV AH,DAY
DIV DIVISOR
CMP Al,'0'
JE WEEK_
JMP NOT_WEEK_
that is my code that tries to find out if the "DAY" is divisible by "7", which is the DIVISOR..
i initialized them as..
DAY DB 1
DIVISOR DB 7
when the "day" is divisible by 7, a 'divide oveflow' occurs..
how do i get this right? thanks