News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

64 BIT PUSHAD

Started by FlySky, August 05, 2009, 02:47:47 PM

Previous topic - Next topic

FlySky

Hey there guys,

Just playing around with PUSH instruction and noticed from the AMD reference that PUSHAD is not supported anymore, same for PUSHFD and POPFD although the latter two are replaced by PUSHFQ and POPFQ, however I haven't been able to find an instruction to push all registers onto the stack. Is it not possible anymore, or do I have to manually push all registers on the stack like PUSH RAX, PUSH RBX etc..?


dedndave

probably because it takes nearly 1/2 Kb to store em all
the one that gets me is, some processors do not support LAHF/SAHF in 64-bit mode