Author: Dann Corbit
Date: 15:06:23 07/03/02
Go up one level in this thread
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.
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.