Install sdcc by entering the following commands in the terminal:
sudo apt update sudo apt install sdcc
Description:
Small Device C Compiler
SDCC is a C compiler for the Intel MCS51 family, HC08, PIC, GameBoy Z80, DS80S390, Z80, Z180 and STM8 microcontrollers. . This package includes the compiler, assemblers and linkers.
Homepage: http://sdcc.sourceforge.net
Version: 3.5.0+dfsg-2build1
Section: universe/electronics