www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/24/08:00:32

From: XXguille AT XXiies DOT XXes (Guillermo Rodriguez Garcia)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: problem with extended inline asm
Date: Sun, 23 May 1999 09:42:24 GMT
Organization: Telefonica Transmision de Datos
Lines: 17
Message-ID: <3748caed.1291395@noticias.iies.es>
References: <37394A06 DOT BA8BBA94 AT magix DOT com DOT sg> <373B38B0 DOT 41BCDF77 AT go DOT ro> <373E296B DOT F468B13 AT unb DOT ca> <373CF61B DOT 948F13AD AT go DOT ro> <3740A79B DOT 757A3035 AT unb DOT ca> <3743B373 DOT 43ACED53 AT go DOT ro>
NNTP-Posting-Host: iies226.iies.es
Mime-Version: 1.0
X-Newsreader: Forte Agent 1.5/32.451
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

El día Thu, 20 May 1999 10:02:11 +0300, Radu Georgescu aka skoola
<skoola AT go DOT ro> escribió:

>in this case you should add this variables to the parameter list, and the goal was to
>reduce the number of parameters below 10. one good ideea is to group the variables in
>a struct, this way you will be sure the compiler allocates the variables one after
>another... what do you think?

If you want the members of the struct to be allocated one next to the
other withouth padding zeros, remember to use __attribute__ ((packed))
just after the closing curly brace of the struct definition.

Regards,
GUILLE
----
Guillermo Rodriguez Garcia
XXguille AT XXiies DOT XXes (ya sabes :-)

- Raw text -


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