If the compiler takes your hint and does use a register, then it is not possible to get the memory address simply because it doesn't have one.