The problem I'm having is I'm trying to move an integer into EAX like so,
mov eax,5000
I would need a way to grab the input, and 'mov eax, val'.
When viewing it with a hex editor, it does 'mov eax, val' BUT what I need to accomplish is literally moving the value, not the address containing the value.
What I have tried:
int val;
cout << "value";
cin >> val
mov eax, val