🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.intel
Article #1880

function start address allignment

#1880
From: Peter Brouwer
Date: Tue, 28 Feb 1989 08:43
12 lines
955 bytes
When looking at executables with sdb and dis (unix) I noticed that the
start of a function in a c program is always word alligned. If
the end of the previous function is not before an word alligned addres
nops are added to the code.
My question is: Is this general for compilers/assemblers in unix environment
on 80386 machines?

-- 
#  Peter Brouwer,                     ##
#  Philips TDS, Dept SSP-V2           ## voice +31 55 432523
#  P.O. Box 245                       ## UUCP address ..!mcvax!philapd!pb
#  7300 AE Apeldoorn, The Netherlands ## Internet pb@idca.tds.philips.nl
Technical Details
Message-ID: <311@ssp2.idca.tds.philips.nl>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!hp4nl!philapd!ssp2!pb

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!hp4nl!philapd!ssp2!pb
From: pb@idca.tds.PHILIPS.nl (Peter Brouwer)
Newsgroups: comp.sys.intel
Subject: function start address allignment
Keywords: word alignment
Message-ID: <311@ssp2.idca.tds.philips.nl>
Date: 28 Feb 89 08:43:37 GMT
Organization: Philips Telecommunication and Data Systems, The Netherlands
Lines: 12