📄 readme
字号:
# File: examples/readme# Purpose: Readme file for examples directory# Author: Phil Bunce (pjb@carmel.com)# Revision History:# 990115 CreatedThis directory contains a number of example programs. Most of the programscan be built 5 different ways: 1. pmon -- download and execute under PMON 2. stand -- download and execute using serialice1 or ejtag 3. rom -- "burn" into rom and plug into board 4. xpmon -- download under pmon, then update the flashes using in-circuit programming. 5. xstand -- download using serialice1 or ejtag, then update the flashes using in-circuit programming.All you need to do in order to build everything in this directory, is select the processor type eg. 4101, 4102 etc. For example, C> nmake 4102 -- Win9x/NT or % make 4102 -- UNIXThere are 3 catagories of programs in this directory:Benchmarks acker.c -- implements Ackerman's function dhry.c -- Dhrystone 1.0 dry1.c -- Dhrystone 1.1 fibo.c -- implements the Fibonacci series hanoi.c -- solves the Towers of Hanoi problem puzzle.c -- implements the standard puzzle benchmark qsort.c -- performs a quicksort queens.c -- solves the 8 queens problem sieve.c -- uses the sieve function to find prime numbers sort.c -- performs a bubble sort whetd.c -- double precision Whetstone whets.c -- single precision Whetstone stanford.c -- the Stanford suitePMON examples onintr.c -- An example of installing an asm exception handler hanoi.c -- An implementation of The Towers of Hanoi that uses text graphics clock.c -- A program that displays a clock using large digitsMisc examples irq.c -- An example of installing a C exception handler ledflash.c -- A program that flashes the LEDs on the board timetst.c -- An example of using the time() function hello.c -- Hello World! game.c -- A simple game that uses text input and output bubble.c -- A bubble sort of a doubly-linked list tstapp.c -- An application that tests most of the features of the run-time library sinewave.c -- A program that draws sinewaves on the screen wiggle.c -- A program that draws lissagous figures on the screenPlease note that some of these programs require floating-point, and sothey will only run correctly if the execution environment includesfloating-point support in hardware, or via software emulation.In addition to floating-point, some of these programs will not evenlink correctly unless you have transcendental libraries. For this reasonthey have been omitted from the standard build list. Please see the filefiles.mk for directions on how to add them to the build list.Each of these programs can be built for a number of different environments. They use a .flg (flag) file to "remember" whatenvironment the current build is for. This makes it possible to avoida "make clean" unless the environment changes.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -