1. Help Me
Hi,
I read about this somewere but I foget how to do it. How do you take out
either ah or al from ax? I know you have to and it with something but I foget.
Do you and it with #00FF or #FF00 or neither?
Albert
2. Re: Help Me
>Hi,
>
>I read about this somewere but I foget how to do it. How do you take out
>either ah or al from ax? I know you have to and it with something but I
foget.
>Do you and it with #00FF or #FF00 or neither?
>
>Albert
AX is a 16bit number. AH an AL are the higer and lower 8bits respectivly.
Getting AL is easy, just a binary "mask" to remove AH:
AL = and_bits(AX,#00FF)
With AH you do the same and then shift right:
AH = and_bits(AX,#FF00)/256
Regards,
Daniel Berstein
daber at pair.com
3. Help Me
I am making a game, and sent it to my friend, He tryed to run it , and
it displayed invailed win32 application, I included all the files that
were needed to run it why wont it work. Can anyone tell me what I am
doing wrong or how to fix this.
4. Re: Help Me
On 3 Feb 2001, at 12:56, C H wrote:
> I am making a game, and sent it to my friend, He tryed to run it , and
> it displayed invailed win32 application, I included all the files that
> were needed to run it why wont it work. Can anyone tell me what I am
> doing wrong or how to fix this.
What OS did you write it for, and what OS did he try to run it on?
Kat