Write a complete program using 80x86 assembly language to display a universal Gregorian calendar.
*****************************************************************
Example:
Enter a month (1 – 12): 11
Enter a year (>1580): 2001
November 2001
وبعدين ... البرنامج راح يعرض التقويم الكامل للشهر من أول يو الى آخر يوم في الشهر .
******************************************************************
The Algorithm
a. The year X is a leap year (366 days: Feb=29 days) if the year X fulfills ((X % 4==0) && (X % 100 != 0)) || (X % 400 ==0).
b. January 1st, 1600 is On Saturday.
c. The calendar has a period of 400 years. It means that the calendar of year X is exactly the same with the calendar of year X+400.
*****************************************************************
Example:
Q: What day was February 13, 1601
A: Between January 1st, 1600 and January 1st, 1601 there were 366 days because year 1600 was a leap year. So, January 1st, 1601 was on (366 % 7) = 2 (Monday). Next, Between January 1st 1601 and February 13, 1601 inclusively there were (31 + 13 – 1) = 43days. Thus, February 13, 1601 was on (2 + 43) % 7 = 3 Tuesday
تكفووون انكم تساعدوني لأنه هذا البرنامج لازم أسويه .. خلال اسبوع ...لأني طالب في الجامعة ومطلوب مني أسوي هذا الـproject