1 / 31

Mikrocomputertechnik - Kapitel 4

Mikrocomputertechnik - Kapitel 4. Herzlich Willkommen Prof. Jürgen Walter. 8051-Assembler: Befehl mov A,#89. Tabelle 4.1. Übersetzung des Codes in eine Hexadezimalzahl. Tabelle 4.2. Dokumentation der Beschaltung. Bild 4.4. Struktogramm: EIN_AUS.ASM. Programm-Ablaufpläne / Struktogramme 1.

Download Presentation

Mikrocomputertechnik - Kapitel 4

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Mikrocomputertechnik - Kapitel 4 Herzlich Willkommen Prof. Jürgen Walter

  2. 8051-Assembler: Befehl mov A,#89

  3. Tabelle 4.1. Übersetzung des Codes in eine Hexadezimalzahl

  4. Tabelle 4.2. Dokumentation der Beschaltung

  5. Bild 4.4. Struktogramm: EIN_AUS.ASM

  6. Programm-Ablaufpläne / Struktogramme 1

  7. Programm-Ablaufpläne / Struktogramme 2

  8. Programm-Ablaufpläne / Struktogramme 3

  9. EIN_AUS.ASM $ title (EIN_AUS) $debug ;Einfaches Programm zum Ein- Ausschalten einer Leuchte ;Taster 1 Einschalten, Taster 2 Ausschalten ;Taster 3 Programm beenden CSEG AT 0H ;Legt absolute Codesegmentadresse auf 0h ljmp ANFANG ;Sprung auf Programmanfang ORG 100H ;Programmstart bei 100H ANFANG: jnb P1.1,LICHT_EIN ;Schalter 1 betaetigt ? jnb P1.2,LICHT_AUS ;Schalter 2 betaetigt ? jnb P1.3,PROGRAMM_ENDE ;Programmende ajmp ANFANG ;Springe zur Adresse Anfang LICHT_EIN: clr P3.2 ;Licht einschalten ajmp Anfang ;Springe zur Adresse Anfang LICHT_AUS: setb P3.2 ;Licht ausschalten ajmp ANFANG ;Springe zur Adresse Anfang PROGRAMM_ENDE: ljmp 8000H ;Monitoreinsprung end

  10. Bild 4.3 Beschaltung der Ports

  11. Bild 4.22. Speicherbereiche 8051 / 80535

  12. Bild 4.23. Registerbänke

  13. Tabelle 4.5. Interrupt Vektoren im Programm-speicherbereich des 8051

  14. Bild 4.24. Programmspeicher

  15. Bild 4.25. Interner Datenspeicher

  16. Bild 4.26. Externer Datenspeicher

  17. Bild 4.27. Bitadressierbarer RAM-Bereich

  18. Bild 4.28. Speicherbereiche - Segmente

  19. Tabelle 4.6. Assembler Controls

  20. Tabelle 4.6.b Assembler Controls

  21. Tabelle 4.7. Program Status Word

  22. Tabelle 4.8. Special Function Register nach funktionellen Gruppen

  23. Tabelle 4.8.b Special Function Register nach funktionellen Gruppen

  24. Tabelle 4.8.c Special Function Register nach funktionellen Gruppen

  25. Tabelle 4.8.e Special Function Register nach funktionellen Gruppen

  26. Tabelle 4.9. Wichtige Schreibweisen und Bedeutungen für die Befehle

  27. Tabelle 4.10. Registerinhalte nach RESET mit Übersetzung

  28. Tabelle 4.10.b Registerinhalte nach RESET mit Übersetzung

  29. Tabelle 4.11. PCON BITS Power Control Bits PCON BITS - Power Control Bits

  30. IEN0 Interrupt Enable 0 / Interrupt 0 Freigabe-Register, bitadressierbar Tabelle 4.12. IEN0 Interrupt 0 Control Bits

  31. IEN1 Interrupt Enable 1 / Interrupt 1 Freigabe-Register, bitadressierbar Tabelle 4.13. IEN1 Interrupt 0 Control Bits

More Related