Mail Archives: djgpp/1997/12/18/20:20:21
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
- Raw text -