Mixing AMODE 31 and AMODE 64 code

You can call 31-bit LE-enabled code from 64-bit LE-enabled code and vice versa. This is limited to FETCHABLE routines and requires designating that such routines are going to run in the opposite AMODE. You must use the ENTRY OPTIONS attributes AMODE and AMODE to specify this.