Author: Uri Blass
Date: 00:35:01 07/05/02
Go up one level in this thread
On July 04, 2002 at 08:39:34, Jerry Jones wrote: >On July 03, 2002 at 18:06:23, Dann Corbit wrote: > >>On July 03, 2002 at 17:36:37, Jerry Jones wrote: >> >>>I started to study the source code of chess programs but it's chinese to me. >>>Meanwhile I can see the difference between Delphi and C++ but I saw code like : >>> >>>push eax >>Push the EAX register onto the stack >> >>>eax*eax >>Some kind of syntax error, since there is no target. >>This would be legal: >>XOR eax, eax >>which does an exclusive or of the EAX register against itself, setting it to 0. >>It used to be a handy trick, but not any more. Now it is better just to do >>this: >>MOV eax, 0 >>which stores a zero into the EAX register. >> >>>jmp >>needs a label. It's nothing but a goto >> >>>ret >>You will see "return" in higher level languages. >> >>>Which programming language is that ? Assembler ? >> >>32 bit x86 assembly langauge. >> >>>How many years does it take to master such a language ? >> >>Probably the easiest computer language of all. However, it is very tedious. >> >>>Maybe I will have a try in my next life. >>>That's no stuff for plain folks. >> >>You could learn it if you had a notion. Go read the FAQ for >>news:comp.lang.asm.x86 and see if you are interested. > >Is Assembly the easiest language to learn ? >It means that other languages are even more difficult ? > >JJ I think that it is wrong to assume that Assembly is the easiest language to learn. The advise that Amir Ban gave me few years ago about chess programming is not to try to lean assembler. He suggested that I should learn C if I am serious about chess programming. I guess that C is easier to learn than assembler but I may be wrong because I never tried to learn assmebler. Uri
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.