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...



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)



May 26, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here