Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Self-Correction

Author: Matt Taylor

Date: 11:26:19 01/18/03

Go up one level in this thread


On January 18, 2003 at 08:10:44, Dan Andersson wrote:

>Gas was primarily meant for machine output. Horrible syntax.
>
>MvH Dan Andersson

Gas itself isn't so bad, especially when working with non-Intel architectures.
(My preference is still Nasm format; I learned Intel/Masm first, but I like Nasm
better.)

What makes that code real ugly is gcc's inline assembly syntax and my abuse of
\t for tab character. That can be expanded, though. The other nuisance is that
registers have to be preceeded with 2 %'s because gcc actually parses the
assembly and modifies things like %0 and %b0.

-Matt



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.