delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/15/21:45:51

Message-ID: <378E8DD5.68B571A@vetec.com>
Date: Thu, 15 Jul 1999 20:41:41 -0500
From: Andy Goth <andygoth AT vetec DOT com>
X-Mailer: Mozilla 4.61 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: DJGPP Mailing LIst <djgpp AT delorie DOT com>
Subject: Marker
Reply-To: djgpp AT delorie DOT com

Is there any way of inserting a marker into C code that is compiled but
not run?  It would be really helpful if I could put comments (of a sort)
right into the binary.

I imagine that maybe I could do it with inline assembly that jumps over
a text string, but would the optimizer throw that out?
  ___  _   _ ____  _   _
 / _ \| \ | |  _ \\ \_/ / .--------[ ICQ#: 35256413 ]--------.
| |_| |  \| | | | |\   /  | 01001000011001010110110001101100 |
|  _  | \ \ | | | | | |   | 01101111001011000010000001110111 |
| | | | |\  | |_| | | |   | 01101111011100100110110001100100 |
|_| |_|_| \_|____/  |_|   `--[ mailto:andygoth AT vetec DOT com ]---'
<http://zap.to/andygoth/>           <http://andygoth.cjb.net/>

- Raw text -


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