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?