What is “sdcc” Package?

ANSI C compiler for Intel 8051, Maxim 80DS390, and Zilog Z80
For more details: https://sdcc.sourceforge.io/

Installation

  • Open Terminal by pressing command+space then type terminal and hit Enter key.
  • Install homebrew first.
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
  • Install sdcc.
    brew install sdcc

Now, use sdcc!