Author Topic: Assembly language compiler  (Read 1514 times)

Offline Roman323

  • Enthusiast Member (25+ Posts)
  • ***
  • Posts: 93
  • New Member
  • Liked:
  • Likes Given: 17
Assembly language compiler
« on: February 11, 2021, 09:24:11 PM »
Does anyone know what the name of the PowerPC assembler app is, so I can get back into programming again in Assembly ?

Offline Daniel

  • Gold Member (200+ Posts)
  • *****
  • Posts: 299
  • Programmer, Hacker, Thinker
  • Liked:
  • Likes Given: 10
Re: Assembly language compiler
« Reply #1 on: February 12, 2021, 06:56:42 AM »
Well, Macintosh Programmer's Workshop can assemble PowerPC code (with the PPCAsm tool).

There are probably many other apps and IDEs that work. Is there anything in particular you are looking for?

Offline Bolkonskij

  • Veteran Member (100+ Posts)
  • ****
  • Posts: 184
    • Cornica.org
  • Liked:
  • Likes Given: 70
Re: Assembly language compiler
« Reply #2 on: February 12, 2021, 07:46:09 AM »
I guess you're looking for Fantasm, are you ? At least that's what comes to mind when I think about Assembler and Macs ...

Offline Jubadub

  • Gold Member (200+ Posts)
  • *****
  • Posts: 214
  • New Member
  • Liked:
  • Likes Given: 6
Re: Assembly language compiler
« Reply #3 on: February 13, 2021, 01:07:26 AM »
I second Fantasm, specifically 6.x. Get it from the Macintosh Garden and have fun!

As previously stated, MPW will do the trick, too.

There are more tools, but you'd have to do more digging... But I don't expect them to be better than the two above. (Did CodeWarrior also offer an assembler?)

Side-note: Technically we call "assembly compilers" just "assemblers". There's really no compilation happening (unlike in a processor-agnostic programming language), it's all 1:1 mapping between mnemonics ("text" instructions) and binary CPU OpCodes (binary instructions). ("Disassembly" being the term for the same 1:1 translation, but in the opposite direction.)

Offline teroyk

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 523
  • -
  • Liked:
  • Likes Given: 44
Re: Assembly language compiler
« Reply #4 on: February 17, 2021, 04:07:20 AM »
Side-note: Technically we call "assembly compilers" just "assemblers". There's really no compilation happening (unlike in a processor-agnostic programming language), it's all 1:1 mapping between mnemonics ("text" instructions) and binary CPU OpCodes (binary instructions). ("Disassembly" being the term for the same 1:1 translation, but in the opposite direction.)

Actually modern (from 80s) macro assemblers can also compile macros to binary instructions (or plain binary data) and do code optimization if liked.
Is there any like this for Mac?:

I bought my first new Mac when OS X 10.1 released. And I bought that Mac because it had Mac OS 9 too. And I bought my first 68k Mac when Apple stopped PPC Macs.

Offline OS923

  • Platinum Member (500+ Posts)
  • *****
  • Posts: 888
  • Liked:
  • Likes Given: 10
Re: Assembly language compiler
« Reply #5 on: February 19, 2021, 07:15:26 AM »
CodeWarrior can do assembler too. You have to write "asm" before your function name. Then you can write assembler instructions in your function instead of C/C++.

 


SimplePortal 2.3.6 © 2008-2014, SimplePortal