HC08    

 8-bit Microcontroller

 

HC08 Microcontroller

 

No

Lecture Topic

 

 1

- 68HC08 CPU Architecture (PPT)
- MCU Block Diagram (DOC)

- S08AW60(PDF
- 68HC08 Memory Map (DOC)
- 68HC08 Memory Mapped I/O Section (DOC)
- Addressing Modes
- CPU Reference Manual (pages 55-82)
Cerid's Book (Pages 9-15)
- Constants and assembler directives (TXT)
- Instruction set (DOC)

Materials 

 - Omer Cerid's Book (PDF)
  - Part of Omer Cerid's Book  in Turkish (PDF)
  - CPU Reference Manual (PDF)
  - MC68HC908GP32 Technical Data Manual (PDF)
  - MC68HC908GP32 Technical Data Manual (PDF)
  - M68ICS08GP In-Circuit Simulator Operatorís Manual (PDF)

  Assembler & Simulators:

   - HC08 Assembler and Simulator (EXE)
  - Speicial Editon: CodeWarrior for Microconrollers 10.7 installer (Eclipse, Offline (EXE) (HTML)

 2

 - Instruction Set Examples
- 1. Move instructions (
ASM)
- 2. Move bytes to PORTA 1 (
ASM)
- 3. Move bytes to PORTA 2 (
ASM) (ASM)
- 4. String copy (
ASM)

- Arithmetic Instructions and examples
- 5. Table addition with indexed addressing (ASM) 
- 6. 24-Bit addition with absolute addresses (ASM) 
- 7. 24-Bit addition with index register (ASM)
- 8. 32-bit additon with loop (ASM)
- 9. Sum of number 1..10 (
ASM)
- 10. Array multiply by 2 and add 1 (ASM1,ASM2,ASM3)
- 11. 24-bit addition by saving CCR (ASM)

 

 3

 - Comparison Instructions
- 1. Compare, Increment, Decrement, Clear, Test, Negation Instructions (ASM)
- Logic Instructions
- 2. AND, ORA, EOR, COM, BIT Instructions(ASM)
3. Bit Clear and Set Instructions (ASM) 
- 4. Shift and Rotate Instructions (
ASM)
- Control Instructions
- 5. Control Instructions (ASM)
- 6. Add accumulator to H:X register with subroutine (ASM)
- 7. Subroutine call and return (
ASM)

 

 3

- Led Lab (DOC)
- Axiom CMS-8GP32 (PDFJPG)
- Axiom CMS-8GP32 User's Manual (PDF)
- Led blink fast (ASM)
- Led blink slow (ASM
- Port and register include file (INC)

- Using the bread board (DOC
     - Sparkfun - Breadboard
 (HTML)
- Basic Definitions and Concepts of Electronics (DOC)
- Lab Reports (DOC)

- DEMO9S08AW60E Quick Start Guide (PDF)
- DEMO9S08AW60EUG Userís Guide (PDF)
- MC9S08AW60 Technical Data Manual (PDF)
- Include File (INC)
- Steps to debug or run a ASM program with CodeWarrior (TXT)
- Ports (TXT)
- I/O Connector Pins (PDF)

Lab 1:
- Leds Blink Fast (ASM)
- Leds Blink Slow (ASM)

 5

- Resets and Interrupts (PPT) 
- Interrupt example - Run on simulator (ASM)

 

 6

- Timer Lab
  - Lab 4 (DOC)
  - Timers (PPT)
  - (ASM)
  - Loading a program into flash memory (DOC)

 Timer Lab

  - Timers (PPT)
  - Technical Manual (PDF) (Pages 165-180)

   - 7 Segmeny + I/O connections (PDF)
  - Code for Anode Type 7 Segment Display (ASM)

  - Timer Example in C language (LabTimer.c)

         
          Resources:

               
                - List of common_microcontrollers (HTML, HTML))
                - Moore's_law from Wikipedia, the free encyclopedia.(HTML)
                - Microprocessor tutorial (HTML)
                - Instruction Execution (HTML)
                - Memory Mapped I/O (HTML)
                - Binary number systems (HTML)
                - Hexadecimal (HTML)
                - How computers boot up (HTML)
               - Speicial Editon: CodeWarrior for Microconrollers 10.7 installer (Eclipse, Offline (EXE) (HTML)