Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- void func1() {
- float temp;
- cin >> temp;
- __asm {
- mov eax, temp
- }
- }
- void func2() {
- float temp;
- func1();
- __asm {
- mov temp, eax
- }
- cout << temp;
- }
- int main() {
- func2();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement