Microsoft Assembler

Discussion in 'Mac Programming' started by AkiNikoTanTan, Aug 26, 2007.

  1. AkiNikoTanTan macrumors member

    Jun 26, 2007
    Anyone know who the equalivent for Microsoft Assembler in Mac Os X?
    I need to do assembly language for microprocessor. (8086, 16bits). Just for learning purposes. Thanks!
  2. gnasher729 macrumors P6


    Nov 25, 2005
    I don't think there is any way of running 16 bit code on a Macintosh at all. For 32 bit code: The gcc compiler can compile all kinds of files, including assembler files. The easiest way to start is create an XCode project (New Project, then choose Standard Tool), switch to "Release", turn PowerPC code generation off, add some C code, "Show Assembly Code" in the Build menu, and use the resulting .s file as a template.

    But the first steps for any MacOS X development are: Go to "", click on "sign up" to get a free ADC account, then download and install the XCode tools.
  3. bousozoku Moderator emeritus

    Jun 25, 2002
    Gone but not forgotten.
    as is the typical UNIX assembler and it's available on Mac OS X. It should do just fine with x86 assembly as long as you use the correct flag.

    As long as you've loaded the developer tools, you should be able to execute the first line though the response will vary.

    as -version
    Apple Computer, Inc. version cctools-622.5.obj~13, GNU assembler version 1.38

Share This Page