extern "C" {
long long f_i64() {
__asm {
mov eax, 1
mov edx, 1
}
}
long long f_i64_reverse() {
__asm {
mov edx, 1
mov eax, 1
}
}
int f_i32() {
__asm {
mov eax, 1
mov edx, 1
}
}
int f_i32_reverse() {
__asm {
mov edx, 1
mov eax, 1
}
}
int f_i32_edx() {
__asm {
mov edx, 1
}
}
short f_i16() {
__asm {
mov eax, 1
mov edx, 1
}
}
char f_i8() {
__asm {
mov eax, 1
mov edx, 1
}
}
bool f_i1() {
__asm {
mov eax, 1L
mov edx, 1U
}
}
struct FourChars {
char a, b, c, d;
};
FourChars f_s4() {
__asm {
mov eax, 0x01010101
}
}
struct EightChars {
char a, b, c, d, e, f, g, h;
};
EightChars f_s8() {
__asm {
mov eax, 01010101h
mov edx, 01010101b
}
}
}
int main() {
__asm xor eax, eax
}