Xcode provides the function of converting a source file into an assembly file,
The Assembly Code is as follows:
# Assembly output for assemble. C # generated at 2:29:34 pm on Monday, May 25, 2014 # using debug configuration, x86_64 architecture for datastruct target of datastruct project. section _ text ,__ text, regular, pure_instructions.section _ dwarf ,__ debug_info, regular, debuglsection_info :. section _ dwarf ,__ debug_abbrev, regular, debuglsection_abbrev :. section _ dwarf ,__ debug_aranges, regular, debug. section _ dwarf ,__ debug_macinfo, regular, debug. section _ dwarf ,__ debug_line, regular, debuglsection_line :. section _ dwarf ,__ debug_loc, regular, debug. section _ dwarf ,__ debug_str, regular, debuglinfo_string :. section _ dwarf ,__ debug_ranges, regular, debugldebug_range :. section _ dwarf ,__ debug_loc, regular, debuglsection_debug_loc :. section _ text ,__ text, regular, pure_instructionsltext_begin :. section _ DATA ,__ data. file1 "/users/guoxiaodong/documents/codeexemple/datastruct/assemble. C ". section _ text ,__ text, regular, pure_instructions.globl_func0.align4, 0x90_func0: ##@ func0