🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #6043

Re: I can't find a good definition anywhere...

#6043
From: Tom Neff
Date: Tue, 16 May 1989 18:02
81 lines
2160 bytes
Here are the #pragma's you can use with Intel's iC-86 (-286, -386).

	#pragma align [(["structure-tag"[=size]][,...])]
		noalign [("structure-tag"[,...])]

	#pragma [no]code		<-- assembly type listing

	#pragma compact			<-- memory model

	#pragma [no]cond		<-- list conditional code

	#pragma [no]debug		<-- symbol info in object module

	#pragma [no]extend		<-- allows keywords "alien,"
					    "far," "near," and "readonly,"
					    and ignores "$" in identifiers.

	#pragma fixedparams [("function"[,...])]
					<-- specifies calling convention

	#pragma interrupt("ifunction"[=n][,...])
					<-- identifies interrupt handlers

	#pragma large			<-- memory model

	#pragma [no]list

	#pragma [no]listinclude

	#pragma medium			<-- memory model

	#pragma mod[1]86		<-- instruction set

	#pragma object[(pathname)]
		noobject

	#pragma optimize(0|1|2|3)

	#pragma pagelength(n)

	#pragma pagewidth(n)

	#pragma preprint [(pathname)]	<-- preprocessor output
		nopreprint

	#pragma print[(pathname)]
		noprint

	#pragma ram			<-- which segment constants go in
		rom

	#pragma searchinclude("directory"[,...])]
		nosearchinclude

	#pragma small			<-- memory model

	#pragma [no]symbols		<-- symbol table in listing

	#pragma tabwidth(width)		<-- in listing

	#pragma title[("string")

	#pragma [no]type		<-- type info in object

	#pragma varparams[("function"[,...])]
					<-- calling convention

These pragmas may be mixed freely on a line.  The compiler defines
_STDC_ = 1.

	#pragma [no]xref		<-- in listing







-- 
Tom Neff				UUCP:     ...!uunet!bfmny0!tneff
    "Truisms aren't everything."	Internet: tneff@bfmny0.UU.NET
Technical Details
Message-ID: <14331@bfmny0.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!bfmny0!tneff
References: <1954@trantor.harris-atd.com> <10084@smoke.BRL.MIL> <14327@bfmny0.UUCP> <4190@ficc.uu.net> <10267@smoke.BRL.MIL>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!bfmny0!tneff
From: tneff@bfmny0.UUCP (Tom Neff)
Newsgroups: comp.std.c
Subject: Re: I can't find a good definition anywhere...
Summary: some real life examples
Message-ID: <14331@bfmny0.UUCP>
Date: 16 May 89 18:02:43 GMT
References: <1954@trantor.harris-atd.com> <10084@smoke.BRL.MIL> <14327@bfmny0.UUCP> <4190@ficc.uu.net> <10267@smoke.BRL.MIL>
Reply-To: tneff@bfmny0.UUCP (Tom Neff)
Organization: ^
Lines: 81