delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/08/19:03:37

From: dmcneill AT pne DOT co DOT uk (Dave McNeill)
Newsgroups: comp.os.msdos.djgpp
Subject: Aligning Loops
Date: Tue, 06 May 1997 14:05:15 GMT
Message-ID: <336f2c7b.16228026@news.demon.co.uk>
NNTP-Posting-Host: firewall.futurenet.co.uk
Lines: 8
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I noticed something strange today while examining
compiler output.  gcc had emitted '.align 2,0x90'
to insert NOP's into the compiled code.  When I
took a disassembly of the resulting .EXE, gas had
assembled the above as 'lea esi,[esi]' (8dh, 36h).

Why?

- Raw text -


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