Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

call foo assembled as call [foo] in intel and nasm syntax #64

Closed
iksteen opened this issue May 15, 2016 · 2 comments
Closed

call foo assembled as call [foo] in intel and nasm syntax #64

iksteen opened this issue May 15, 2016 · 2 comments

Comments

@iksteen
Copy link
Contributor

iksteen commented May 15, 2016

$ kstool x32nasm "call foo; foo:"
Kstool v1.0 for Keystone Engine (www.keystone-engine.org)

call [foo]; foo: = [ ff 15 00 00 00 00 ]

For comparison, using AT&T syntax yields the correct result:

$ kstool x32att "call foo; foo:"
Kstool v1.0 for Keystone Engine (www.keystone-engine.org)

call foo; foo: = [ e8 00 00 00 00 ]
@iksteen iksteen changed the title call foo in intel and nasm syntax are assembled as call [foo] call foo is assembled as call [foo] in intel and nasm syntax May 15, 2016
@iksteen iksteen changed the title call foo is assembled as call [foo] in intel and nasm syntax call foo assembled as call [foo] in intel and nasm syntax May 15, 2016
aquynh added a commit that referenced this issue May 16, 2016
@aquynh
Copy link
Member

aquynh commented May 16, 2016

fixed now, please confirm.

@iksteen
Copy link
Contributor Author

iksteen commented May 16, 2016

Yes, it's fixed now. Thanks!

@iksteen iksteen closed this as completed May 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants