Magic 8-ball: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) m (→{{header|8086 Assembly}}: clarification of DOS interrupts) |
||
Line 147: | Line 147: | ||
mov ah,2Ch |
mov ah,2Ch |
||
int 21h ;returns hour:minute in cx, second:100ths of second in dx |
|||
int 21h |
|||
xchg cx,ax |
xchg cx,ax |
||
xchg ax,dx ;ax = seconds, 100ths of seconds; dx = hours,minutes |
xchg ax,dx ;ax = seconds, 100ths of seconds; dx = hours,minutes |