Date: Thu, 18 Dec 1997 17:19:52 -0800 (PST) Message-Id: <199712190119.RAA12121@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: Thomas Demmer , djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: hexidecimal confusion Precedence: bulk At 07:43 12/17/1997 +0100, Thomas Demmer wrote: >Ionicis wrote: >> >> Is there a difference between 16h and 0x16? Can you use 16h instead of >> 0x16 for things such as interrupt specifiers (int86(16h, ®s, >> ®s))? Or must you use 0x16? Is there a difference between the first >> form and the latter form (C-wise, not value-wise)? Some clarification >> on this would be greatly appreciated. >> >> "Ionicis" >The first form is illegal, the second one is fine. 16h is sometimes >used in documentations and printed texts to indicate a hex number. >0x16 is what the C compiler understands. In PASCAL you would say >$16. The form 16h is used in many DOS assemblers. Interrupt documentation often uses this form since much interrupt programming is done in assembly. Nate Eldredge eldredge AT ap DOT net