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

lab 8: Mac OS X: assmebly output format #9

Open
aaronbloomfield opened this issue Jun 21, 2017 · 0 comments
Open

lab 8: Mac OS X: assmebly output format #9

aaronbloomfield opened this issue Jun 21, 2017 · 0 comments

Comments

@aaronbloomfield
Copy link
Collaborator

From aaronbloomfield#158:

From a student:

In class today, you mentioned that you weren't sure about the output from clang++ using the -mllvm --x86-asm-syntax=intel flags or g++ using the -m32 -masm=intel flags on Mac OSX.

If you're interested, I have attached the outputs I received when compiling a basic C++ program (also attached) using the aforementioned flags. I used a 2014 MacBook Air running version 10.11.3 of OS X El Capitan.

Since the course is going to switch to 64-bit assembly, this may or may not be relevant in the fall. In either case, updating the 32-bit x86 slides (which are going to be kept in the repo) is not a bad idea.

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

1 participant