Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: A free assembler? (A little off topic...)

Author: Andrew Dados

Date: 14:12:56 02/28/00

Go up one level in this thread


On February 28, 2000 at 17:08:09, leonid wrote:

>On February 28, 2000 at 15:03:05, Andrew Dados wrote:
>
>>On February 28, 2000 at 07:30:45, leonid wrote:
>>
>>>On February 27, 2000 at 17:12:04, Dan Andersson wrote:
>>>
>>>>IMO = In My Opinion.
>>>>I like nasm because it has a clear and logical (noncontradictory) way of dealing
>>>>with indirection and allows aritmethic expressions (it even optimizes many
>>>>cases). It also has a high level of abstraction, almost at C levels. Thus its
>>>>easier to maintain than T/MASM. GAS as another example, is logical but hard to
>>>>read and maitain.
>>>
>>>If you used the NASM for writing the chess game, mainly for Windows, will be
>>>glad to know your opinion about capability of this Assembler and completeness of
>>>its package. I never used it. And how about the susbstitute, if such existe, for
>>>Software Development Kit that you need when writing for Windows on MASM or
>>>Borland Assembler?
>>>
>>>Leonid.
>>
>>I wonder why one would want to write complete windows program in assembler...
>>You can easy write a nice interface in MSVC or Delphi or even VB, and have
>>several options of adding your assembler code:
>
>
>Complete control over your program creation is the reason for writing your  game
>on Assembler. Writing your game partially on in Assembler give you only partial
>control over your code.
>
>After all, if you already write one part of your game on Assembler why not write
>it completely on Assembler? It is not that difficult. The most difficult part is
>in writing the good chess game is in finding the way for making speedy and bug
>free logic. This is just this part that consume all your writing time. Once you
>did it 100% you can even rewrite it 100% on C and see if it as good for you.
>
>Leonid.
>
>

Writing function headers and exporting them from dll still keeps you in full
control over your asm code, believe me :)

>
>
>>- linking asm *.obj files directly, or
>>- inserting asm code in source (that for C and Delphi) or
>>- putting your engine into a dll and separating it from interface completely.
>>(I ran on several examples of writing a complete dll for windows in assembler...
>>or you can write one main C file, make an asm from it and link it to your other
>>asm code) That last option is most appealing and many (all?) commercials use it.
>>
>>-Andrew-



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.