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