www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/05/06:10:05

Xref: news2.mv.net comp.os.msdos.djgpp:2452
From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: How to code Interrupts in C?
Date: Wed, 03 Apr 1996 20:52:37 -0800
Organization: Alcyone Systems
Lines: 18
Message-ID: <31635595.10602F8D@alcyone.com>
References: <4ji0s3$t4i AT news DOT nevada DOT edu> <315F1AEF DOT 5A083C32 AT alcyone DOT com> <4jt5h0$6p5 AT groa DOT uct DOT ac DOT za>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Fabian Nunez wrote:

> also, don't forget that DJGPP is a 32bit compiler, so data sizes are different:
> 
> int = 4 bytes = dword
> short = 2 bytes = word
> char = 1 byte = byte

Of course (although the sizes of these types are implementation-dependent in C).
I was just addressing the fact that his references were incorrect from the start
(even discounting differences in type sizes).

-- 
Erik Max Francis &tSftDotIotE && http://www.alcyone.com/max && max AT alcyone DOT com
San Jose, California, U.S.A. && 37 20 07 N 121 53 38 W && the 4th R is respect
H.3`S,3,P,3$S,#$Q,C`Q,3,P,3$S,#$Q,3`Q,3,P,C$Q,#(Q.#`-"C`- && 1love && folasade
Omnia quia sunt, lumina sunt. && Dominion, GIGO, GOOGOL, Omega, Psi, Strategem
"Out from his breast/his soul went to seek/the doom of the just." -- _Beowulf_

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019