skip navigational linksPJRC
Shopping Cart Checkout Shipping Cost Download Website
Home Products Teensy Blog Forum
You are here: 8051 Tools Software Linux AS31/SDCC

PJRC Store
8051 Board, $79
LCD 128x64 Pixel, $29
LCD 16x2 Char, $14
Serial Cable, $5
9 Volt Power, $6
More Components...
8051 Tools
Main Page
Software
PAULMON Monitor
Development Board
Code Library
89C2051 Programmer
Other Resources

AS31 and SDCC For Linux Based Systems

These instructions were developed and tested on a system running Red Hat Linux 7.1. Most linux distributions are very similar and these instructions should work with little or no change on most other linux-based systems.

AS31 Assembler

TODO: clean this up, use nice html


1: Download AS31 Source Code

2: Unpack the archive
tar -xvzf as31_beta3.tar.gz
cd as31

3: Build the code
make

4: Run Tests (optional)
cd tests
../as31 paulmon1.asm
../as31 paulmon2.asm 
../as31 extra.asm
diff paulmon1.hex paulmon1.ref 
diff paulmon2.hex paulmon2.ref 
diff extra.hex extra.ref


5: Copy Executables
su
cp as31 as31_gtk /usr/local/bin

SDCC C Compiler

1: Download SDCC Source Code

2: Unpack the archive
tar -xvzf sdcc230-pj1.tar.gz
cd sdcc

3: Configure the code
./configure

4: Build the code
make

5: Install Executables and C libraries
su
make install


Compiling AS31 and SDCC on RedHat 7.1; Paul Stoffregen
http://www.pjrc.com/tech/8051/tools/linux_compile.html
Last updated: February 24, 2005
Suggestions, comments, criticisms, things you want?? <paul@pjrc.com>