Computer Chess Club Archives


Search

Terms

Messages

Subject: Assembler question

Author: James Robertson

Date: 13:30:24 01/23/99


In my prog I have written:

void Func(int **i) {
  __asm {
    mov        eax,i
    mov        ebx,[eax]
  }
}

I am hoping there is some assembler instruction that combines both operations
into one.

Later on in the function I have:

void Func(int **i){
  __asm {
    mov        eax,i
    mov        ebx,something_useful
    mov        [eax],ebx
  }
}

Is there any way to shorten this? Mr. Nalimov mentioned that Intel has a file
somewhere with all the assembler instuctions explianed, but I downloaded it in
Acrobat format, and I am too lazy to download Acrobat. Figured it would probably
be a little easier to post here. :)

James




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.