【液晶显示器的C语言程序设计 Freescale 8位微控制器】一书的光盘
源代码在线查看: pio.bat
@echo off
PATH c:\cxeval
cx6808 -v -l +debug +nowiden crts.s PIO.c vector.c
if errorlevel 1 goto bad
:clink
echo.
echo Linking ...
clnk -vo PIO.h08 -m pio.map PIO.lnk
if errorlevel 1 goto bad
:chexa
echo.
echo Converting ...
chex -o PIO.hex PIO.h08
if errorlevel 1 goto bad
:cllabs
echo.
echo Generating absolute listing ...
clabs PIO.h08
if errorlevel 1 goto bad
copy PIO.hex PIO.s19
echo.
echo The Compiler for MC68HC08 installation is successfull.
goto sortie
:bad
echo.
echo The Compiler Installation Failed.
:sortie
echo on