NASM - The Netwide Assembler

NASM Forum => Programming with NASM => Topic started by: Silwc on November 23, 2012, 09:39:42 PM

Title: Push AL
Post by: Silwc on November 23, 2012, 09:39:42 PM
Hello, I have a simple question, is it possible to push register AL onto stack? I can't seem to get it right.
Thanks
Title: Re: Push AL
Post by: Frank Kotler on November 23, 2012, 10:09:42 PM
No. Push ax, eax, or rax depending on the bitness you're assembling for. You can only pay attention to al, if that's all you need, but you can't push just al.

Best,
Frank