Write a program to display the date in the format dd-mmm-yyyy, where mmm is the
three-letter abbreviation for the month (e.g., JAN, FEB, etc.). To get the current date,
you can use the function 2AH of interrupt 21H. Details are given below:
Function 2AH — Get date
Input: AH = 2AH
Returns: AL = day of the week (0 = Sun, 1 = Mon, etc.)
CX = year (1980–2099)
DH = month (1= Jan, 2 = Feb, etc.)
DL = day of the month (1–31)
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here