main.bat

来自「【液晶显示器的C语言程序设计 Freescale 8位微控制器】一书的光盘」· Batch 代码 · 共 30 行

BAT
30
字号
@echo off
cx6808 -vel +debug +nowiden crts.s main.c lcd.c kb.c vector.c
if errorlevel 1 goto bad
:clink
echo.
echo Linking ...
clnk -o main.h08 main.lkf
if errorlevel 1 goto bad
:chexa
echo.
echo Converting ...
chex -o main.hex main.h08
if errorlevel 1 goto bad
:cllabs
echo.
echo Generating absolute listing ...
clabs main.h08
if errorlevel 1 goto bad
copy main.hex main.s19
echo.
echo.
echo        The Compiler for MC68HC08 installation is successfull.
goto sortie
:bad
echo.
echo.
echo        THE COMPILER INSTALLATION FAILED.
:sortie
echo on

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?