68HC11 Class Examples
Topic Examples
SIM11
  • Introduction to Sim11 (sim11ex.asm)
  • Addressing Modes
    and Basics
  • Using * with tables (tabtrick.asm)
  • Immediate addressing mode (immaddr.asm)
  • Direct addressing mode (diraddr.asm)
  • Extended addressing mode (extaddr.asm)
  • Indexed addressing mode (indaddr.asm)
  • example0.asm (17Nov00)
  • example1.asm (17Nov00)
  • Data Structures
  • Vector addition (vectadd.asm)
  • Address and Data
    Bus Timing
  • Machine Cycle (mach_cyc.asm)
  • Parameter Passing
  • Parameters in internal registers (pram1a.asm)
  • Parameters address (pointer) in the internal registers (pram1b.asm)
  • Parameters in program memory space (pram2a.asm)
  • Parameters pointers in program memory space (pram2b.asm)
  • Parameters on stack (pram3a.asm)
  • Parameters pointers on stack (pram3b.asm)
  • Parameter Passing Notes (param_passing.PDF) [PDF]
  • SCI
  • SCI Polling Example (sci_pol.asm)
  • Polling initialization Example (polling.asm)
  • Polling Example (polling1.asm)
  • Debouncing
    and IRQ
  • Debouncing circuit (debounce.cct [LogicWorks])
  • IRQ Example 1a (irq_inta.asm)
  • IRQ Example 1b (irq_intb.asm)
  • IRQ Example 1b for SIM11 (use IRQ=0,1) (irq_bs11.asm)
  • RTI and TOI
  • Running two processes using RTI (coprrti.asm)
  • Use RTI for a single process to toggle bits (rtia.asm)
  • Use RTI single process to rotate bits (rtib.asm)
  • Like RTIa, but with polling (rtia_p.asm)
  • TOI example (timeover.asm)
  • TOI example for EVBU board (with BUFFALO) (timeovrB.asm)
  • Multitasking
  • Steps in an RTI multi-tasking routine (rtistep.asm)
  • Single process of an multi-tasking routine (rtisinPr.asm)
  • Multi-tasking with RTI (rtimult.asm)
  • Another Multi-tasking with RTI (rtimult2.asm)
  • Multi-tasking using RTI and TOI (rti_toi.asm)
  • Another multi-tasking using RTI and TOI (rti2_toi.asm)
  • OC
  • OC2 PWM Example (oc2pwm.asm)
  • OC2 PWM Example (with no BSET/BCLR) (oc2pwmnb.asm)
  • OC
  • OC1 Example (oc1pwm.asm)
  • OC3 Example (oc2siggn.asm)
  • IC
  • IC3 Example (width of signal) (ic3.asm)
  • IC3 Script file (ic3.srp)
  • IC3 code detection example (ic3_det.asm)
  • IC3 code detection script file (ic3_det.srp)
  • A/D
  • A/D EEG Example 1 (ad_eeg.asm)
  • A/D EEG Script File 1 (ad_eeg.srp)
  • PA
  • Pulse Accumulator Detection Example 1 (padetect.asm)
  • PADetect.asm Script File 1 (padetect.srp)
  • PADetect.asm Example Modified (padetfud.asm)
  • PADetFud.asm Script File (padetfud.srp)
  • Pulse Accumulator Duration Example (padur.asm)
  • PADur.asm Script File (padur.srp)
  • PADur.asm Example Modified (padurfud.asm)
  • SPI
  • SPI Example (Master) (spimastr.asm)
  • SPI Example (Slave) (spislave.asm)
  • SPI Master Transmit & Receive a Table (spimastb.asm)
  • SPI Output Port Expansion (spi_out.asm)