#include <stdio.h>
int main(void) {
int a;
int* p;
int b[3]={127,65537,11113};
__asm__ volatile (
"mov %2,%%ecx\n\t"
"lea %2,%%edx\n\t"
"mov %%ecx,%0\n\t"
"mov %%edx,%1\n\t"
: "=m"(a),"=m"(p)
: "m"(b[1])
: "%ecx","%edx");
__asm__ volatile (
"push %%eax\n\t"
"mov %2,%%ecx\n\t"
"lea %2,%%edx\n\t"
"pop %%eax\n\t"
"mov %%ecx,%0\n\t"
"mov %%edx,%1\n\t"
: "=m"(a),"=m"(p)
: "m"(b[1])
: "%ecx","%edx");
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CglpbnQgYTsKCWludCogcDsKCWludCBiWzNdPXsxMjcsNjU1MzcsMTExMTN9OwoJX19hc21fXyB2b2xhdGlsZSAoCgkJIm1vdiAlMiwlJWVjeFxuXHQiCgkJImxlYSAlMiwlJWVkeFxuXHQiCgkJIm1vdiAlJWVjeCwlMFxuXHQiCgkJIm1vdiAlJWVkeCwlMVxuXHQiCgk6ICI9bSIoYSksIj1tIihwKQoJOiAibSIoYlsxXSkKCTogIiVlY3giLCIlZWR4Iik7CglwcmludGYoIiVwICVkXG4iLHAsYSk7CglfX2FzbV9fIHZvbGF0aWxlICgKCQkicHVzaCAlJWVheFxuXHQiCgkJIm1vdiAlMiwlJWVjeFxuXHQiCgkJImxlYSAlMiwlJWVkeFxuXHQiCgkJInBvcCAlJWVheFxuXHQiCgkJIm1vdiAlJWVjeCwlMFxuXHQiCgkJIm1vdiAlJWVkeCwlMVxuXHQiCgk6ICI9bSIoYSksIj1tIihwKQoJOiAibSIoYlsxXSkKCTogIiVlY3giLCIlZWR4Iik7CglwcmludGYoIiVwICVkXG4iLHAsYSk7CglyZXR1cm4gMDsKfQo=