Computer Chess Club Archives


Search

Terms

Messages

Subject: Question for Eugene Nalimov

Author: James Robertson

Date: 09:16:49 12/21/98


I was recommended to you as someone who is good with x86 register programming.

I am writing a function of my program in assembly, and I have run out of
registers; I have already used eax, ebx, ecx, edx, esi, and edi; and I need
one more. Unfortunately, esp, eip generate errors "improper operand type".
My function looks kinda like this:

MyFunction(MoveList ml)
{
	__asm
	{
		//and I would like to put:
		mov	eip,[ml]
	}
}
Compiler: &%^*$ Improper operand type.

I am using VC++ 5.0 under Win95, with a Win32 console program. Please help!

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.