Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Assembler Question

Author: Larry Griffiths

Date: 22:32:14 01/26/99

Go up one level in this thread


On January 26, 1999 at 22:38:37, James Robertson wrote:

>Once again I show my absolute ignorance of assembly with these two questions:
>I am trying to acces the 3rd [+ 4th] byte of a register. How? E.g., what is next
>after al, ah, ?
>How do I pop something off the stack without moving the stack pointer?
>
>Thanks,
>James


James,

al is the low order byte, ah is the high order byte,
ax is both al and ah. eax is all four bytes.

I have not tested this but I think you can
do something like:

   mov   EAX,[ESP]

or

   mov   EAX,dword ptr [ESP]
Larry



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.