<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=WINDOWS-1250">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [fpc-pascal]Another Intel ASM problem</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Hmm and can you add something FPC native? Maybe {$BALIGN 8}...</FONT>
</P>
<P><FONT SIZE=2>I think you can support .balign as in AT&T as Intel doesn't define such directive :)</FONT>
</P>
<P><FONT SIZE=2>regards, Pavel Kanzelsberger</FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Peter Vreman [<A HREF="mailto:peter@freepascal.org">mailto:peter@freepascal.org</A>]</FONT>
<BR><FONT SIZE=2>Sent: Tuesday, June 26, 2001 8:15 PM</FONT>
<BR><FONT SIZE=2>To: fpc-pascal@deadlock.et.tudelft.nl</FONT>
<BR><FONT SIZE=2>Subject: Re: [fpc-pascal]Another Intel ASM problem</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>I need help with little ASM problem (Intel syntax)</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>In AT&T syntax you can do following to align code:</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>asm</FONT>
<BR><FONT SIZE=2>>.balign 8</FONT>
<BR><FONT SIZE=2>>[somecode]</FONT>
<BR><FONT SIZE=2>>end;</FONT>
<BR><FONT SIZE=2>></FONT>
<BR><FONT SIZE=2>>Is something similar supported in FPC compiler inside Intel ASM? I have </FONT>
<BR><FONT SIZE=2>>really big GUI library written in 100% Intel assembler and need to align </FONT>
<BR><FONT SIZE=2>>all procedures to speed-up the code but I don't want to rewrite it to AT&T </FONT>
<BR><FONT SIZE=2>>syntax...</FONT>
</P>
<P><FONT SIZE=2>There is no support for an align directive.</FONT>
</P>
<P><FONT SIZE=2>It can maybe added, but there is no specific intel syntax that defines how </FONT>
<BR><FONT SIZE=2>it should be added.</FONT>
</P>
<BR>
<P><FONT SIZE=2>Peter</FONT>
</P>
<BR>
<P><FONT SIZE=2>_______________________________________________</FONT>
<BR><FONT SIZE=2>fpc-pascal maillist - fpc-pascal@lists.freepascal.org</FONT>
<BR><FONT SIZE=2><A HREF="http://lists.freepascal.org/mailman/listinfo/fpc-pascal" TARGET="_blank">http://lists.freepascal.org/mailman/listinfo/fpc-pascal</A></FONT>
</P>
</BODY>
</HTML>