📄 browse.htm
字号:
<HTML>
<HEAD>
<TITLE>"Programming and Customizing the 8051" Sample Code</TITLE>
<! Update History:>
<! 98.09.28 - Created>
</HEAD>
<BODY BACKGROUND="#ffffff" TEXT="000000" LINK="9805FF">
<table width="100%" CELLPADDING=10 BACKGROUND="canvas.jpg" border="canvas.jpg">
<tr>
<td rowspan=2 width=125 valign="top">
<A HREF="http://www.myke.com"><font face="Helvetica"><strong>Myke Predko's Home Page</strong></font></A><p>
<A HREF="/index.htm"><strong>Book CD-ROM Home</strong></A><p>
<A HREF="code.htm"><strong>Code</strong></A><br>
<IMG SRC="dot.gif"><small>Browse Code</small><p>
<A HREF="umps.htm"><strong>Loading UMPS</strong></A><p>
<A HREF="datasht.htm"><strong>Device Data Sheets</strong></A><p>
<A HREF="remote.htm"><strong>Internet Based 8051 Debugger</strong></A><p>
<A HREF="page2.htm"><strong>8051 Resource Web Pages</strong></A>
</td>
<td bgcolor="#ffffff" valign="top"><IMG SRC="my_comp.gif" align="right" alt="Windows 'My Computer' Window with the book's CD-ROM">
<h2>Sample Code</h2>
<p align="left">I have listed the Source Code on the CD-ROM with Links below
for you to browse them easily by function and be able to Cut and Paste
aspects that you may need for your own applications. When you are double
clicking on the source file name for the first time, you may find that you have
to specify a viewer. "Wordpad" or "Notepad" are good ones to start with. <p>
<p align="left">In Microsoft's Internet Explorer, you may discover that you
are asked whether or not you want to save the file to disk or open it. You
can open it safely.
<h3>Application Template</h3>
<ul>
<li><A HREF="/code/prog46/template.asm">template.asm</A> - Assembler Source code Template
</ul>
<h3>AT89Cx051 Programmer</h3>
<ul>
<li><A HREF="/code/prog35/prog35i.c">prog35i.c</A> - "C" Source Code for Parallel Atmel 20 Pin Device Programmer
</ul>
<h3>Experiments</h3>
<ul>
<li><A HREF="/code/prog1/prog1.asm">prog1.asm</A> - Turn on an LED
<li><A HREF="/code/prog2/prog2.asm">prog2.asm</A> - Arithmetic Operations
<li><A HREF="/code/prog3/prog3.asm">prog3.asm</A> - Direct Bank Addressing
<li><A HREF="/code/prog4/prog4.asm">prog4.asm</A> - Indirect Addressing
<li><A HREF="/code/prog5/prog5.asm">prog5.asm</A> - Demonstrating how "Jmp" Instructions work
<li><A HREF="/code/prog6/prog6.asm">prog6.asm</A> - Accessing Scratchpad RAM
<li><A HREF="/code/prog7/prog7.asm">prog7.asm</A> - Bit Addressing
<li><A HREF="/code/prog8/prog8.asm">prog8.asm</A> - Using DPTR to Access External Memory
<li><A HREF="/code/prog8/prog8a.asm">prog8a.asm</A> - Using the Bank Index Registers to Access External Memory
<li><A HREF="/code/prog9/prog9.asm">prog9.asm</A> - Conditional Branching
<li><A HREF="/code/prog10/prog10.asm">prog10.asm</A> - Looping Control
<li><A HREF="/code/prog11/prog11.asm">prog11.asm</A> - Demonstrate Stack Operations
<li><A HREF="/code/prog12/prog12.asm">prog12.asm</A> - Arithmetic Operations with the Stack
<li><A HREF="/code/prog13/prog13.asm">prog13.asm</A> - Calling Subroutines
<li><A HREF="/code/prog14/prog14.asm">prog14.asm</A> - Passing Parameters using Bank Register
<li><A HREF="/code/prog15/prog15.asm">prog15.asm</A> - Passing Parameters using the Stack
<li><A HREF="/code/prog16/prog16.asm">prog16.asm</A> - Implementing Variable Arrays
<li><A HREF="/code/prog17/prog17.asm">prog17.asm</A> - Control Store Tables
<li><A HREF="/code/prog18/prog18.asm">prog18.asm</A> - Implementing Traffic Lights with a State Machine
<li><A HREF="/code/prog19/prog19.asm">prog19.asm</A> - Polling a Button and Turning on an LED
<li><A HREF="/code/prog20/prog20.asm">prog20.asm</A> - Debounce a Button and Toggle an LED State
<li><A HREF="/code/prog21/prog21.asm">prog21.asm</A> - Pseudo-Random LED Display
<li><A HREF="/code/prog22/prog22.asm">prog22.asm</A> - Check to See if Program Executing from a Power-Up or Reset
<li><A HREF="/code/prog23/prog23.asm">prog23.asm</A> - Display the Scratchpad RAM Values on Power Up
<li><A HREF="/code/prog24/prog24.asm">prog24.asm</A> - Interrupt Handler with Context Register Saving
<li><A HREF="/code/prog25/prog25.asm">prog25.asm</A> - Interrupt Handler <b>without</b> Context Register Saving
<li><A HREF="/code/prog26/prog26.asm">prog26.asm</A> - Button Debouncing using Interrupts and Timer
<li><A HREF="/code/prog27/prog27.asm">prog27.asm</A> - Implementing Memory Mapped I/O
<li><A HREF="/code/prog28/prog28.asm">prog28.asm</A> - Accessing External Memory
<li><A HREF="/code/prog34/prog34.asm">prog34.asm</A> - Program used to Create Large Current Transients
<li><A HREF="/code/prog45/prog45.asm">prog45.asm</A> - Experiment with Polling a Button and Turning on an LED
</ul>
<h3>AT89Cx051 Emulator</h3>
<ul>
<li><A HREF="/code/prog29/prog29n.asm">prog29n.asm</A> - Source code for AT89Cx051 Emulator using DS87C520
</ul>
<h3>8051 Real Time Operating Systems</h3>
<ul>
<li><A HREF="/code/prog30/rtoslite.asm">rtoslite.asm</A> - "RTOSlite" Source code
<li><A HREF="/code/prog31/fullrtos.asm">fullrtos.asm</A> - "fullRTOS" Source code
<li><A HREF="/code/prog43/prog43.asm">prog43.asm</A> - Digital LCD Clock/Thermometer using "fullRTOS"
</ul>
<h3>Example Applications</h3>
<ul>
<li><A HREF="/code/prog33/potread.asm">potread.asm</A> - Reading Aircraft Joystick
<li><A HREF="/code/prog33/servomov.asm">servomov.asm</A> - Move RC Servos
<li><A HREF="/code/prog36/prog36.asm">prog36.asm</A> - 51Bot - Getting the Wheels Turning
<li><A HREF="/code/prog37/prog37a.asm">prog37a.asm</A> - 51Bot - Control from a TV Remote Control
<li><A HREF="/code/prog38/prog38.asm">prog38.asm</A> - Ultrasonic Distance Measuring
<li><A HREF="/code/prog39/prog39.asm">prog39.asm</A> - Light Sensors for Robots
<li><A HREF="/code/prog40/prog40b.asm">prog40b.asm</A> - Bubble Sort Program
<li><A HREF="/code/prog40/prog40q.asm">prog40q.asm</A> - Quick Sort Program
<li><A HREF="/code/prog41/prog41.asm">prog41.asm</A> - 51Bot - RS-232 "Bit-Banging" Interface
<li><A HREF="/code/prog42/51bot42d.asm">51bot42d.asm</A> - 51Bot - PWM Motor Control
<li><A HREF="/code/prog44/prog44g.asm">prog44g.asm</A> - Marya's Music Box
<li><A HREF="/code/prog47/prog47i.asm">prog47i.asm</A> - Electronics RS-232 "Breakout Box"
<li><A HREF="/code/prog49/getfont.c">getfont.c</A> - "C" Program to Read the 8x8 Font in a PC
<li><A HREF="/code/prog49/prog49b.asm">prog49b.asm</A> - Display the message "How Are You Myke" on a TV Set
</ul>
</td>
</tr>
</table>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -