PDA

View Full Version : Microsoft Assembler




AkiNikoTanTan
Aug 26, 2007, 07:11 AM
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!



gnasher729
Aug 26, 2007, 03:48 PM
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!

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 "developer.apple.com", click on "sign up" to get a free ADC account, then download and install the XCode tools.

bousozoku
Aug 26, 2007, 04:36 PM
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