Skip to content
Snippets Groups Projects
Commit aebb8902 authored by an7s's avatar an7s
Browse files

Fix bug SetsStackPointer didn't work for sub esp,k

Bad mask was applied. Got rid of it.



Former-commit-id: 605abf9effe947410d9575519a01069074552910
parent d2b759dd
No related branches found
No related tags found
No related merge requests found
......@@ -242,7 +242,7 @@ bool Instruction_t::SetsStackPointer(ARGTYPE* arg)
{
if((arg->AccessMode & WRITE ) == 0)
return false;
int access_type=arg->ArgType & 0xFFFF0000;
int access_type=arg->ArgType;
if(access_type==REGISTER_TYPE + GENERAL_REG +REG4)
return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment