You are here : assembly8086 INT 21HAH2CH

AH=2CH - 8086 INT 21H

AH = 2Ch - GET SYSTEM TIME

Return: CH = hour CL = minute DH = second DL = 1/100 seconds

Note: on most systems, the resolution of the system clock is about 5/100sec, so returned times generally do not increment by 1 on some systems, DL may always return 00h


Syntax

MOV AH,2CH
INT 21H


Example

MOV AH,2CH
INT 21H


Output / Return Value

Return: CH = hour CL = minute DH = second DL = 1/100 seconds


Limitations


Alternatives / See Also

Set System Time


Reference