|
-
Dec 20th, 2000, 11:41 PM
#1
I have just got the hour using function 2c of int 21h, and the hour is in ch. Now what i want to do is find out if the hour is above 12, and if it is, subtract twelve from it, any ideas on how to do that?
-
Jan 1st, 2001, 11:17 AM
#2
Lively Member
what am i missing here?
cmp ch, 12
jb dontsub (or jl... it has been a long time)
sub ch, 12
dontsub:
-
Jan 29th, 2001, 10:32 AM
#3
Member
I'm pretty sure that they both work, JB and JL that is
Wisdom is supreme, therefore get wisdom,
though it costs all you have, get understanding.
Proverbs 4:7
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|