Determine 32/64 bit architecture in assembly
Posted
by dboarman-FissureStudios
on Stack Overflow
See other posts from Stack Overflow
or by dboarman-FissureStudios
Published on 2010-04-02T20:30:27Z
Indexed on
2010/04/02
20:33 UTC
Read the original article
Hit count: 386
assembly
|32bit-64bit
I was reading over this question and wondered if the accepted answer might also be a way to determine the architecture. For instance, in asm could I push a WORD onto the stack and then check SP. Compare the new SP to the old SP:
Diff of 4 means 32 bit
Diff of 8 means 64 bit
Am I correct in this thinking?
© Stack Overflow or respective owner