aaronbloomfield/pdr

lab 8: Mac OS X: assmebly output format

Closed this issue · 1 comments

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.