1 / 22

MPLAB

MPLAB. MPLAB MPLAB is een “Integrated Development Environment (IDE) voor Microchip microcontrollers. MPLAB Functies: Maken en verbeteren van Source Files Groeperen van Files in Projects Opsporen van fouten (debugger) Simulator. MPLAB. MPLAB Desktop. Development Mode Dialog.

monifa
Download Presentation

MPLAB

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. MPLAB

  2. MPLAB MPLAB is een “Integrated Development Environment (IDE) voor Microchip microcontrollers

  3. MPLAB • Functies: • Maken en verbeteren van Source Files • Groeperen van Files in Projects • Opsporen van fouten (debugger) • Simulator

  4. MPLAB

  5. MPLAB Desktop

  6. Development Mode Dialog

  7. New Project Dialog

  8. Edit Project Dialog

  9. Node Proporties Dialog

  10. Add Node Enebled

  11. Add Node Dialog

  12. Edit Project Dialog Node Added

  13. Build All

  14. list p=16c54,f=inhx8m #include <P16C5X.INC> ;optelling van reg7 + reg8 = reg9 (reg9 bevat de som) ; reg7 equ 07h reg8 equ 08h reg9 equ 09h ; org 0x1ff ;zetten van de resetvector goto start ; org 0x000 start movlw 0xab ;reg7 laden met abh movwf reg7 movlw 0x01 movwf reg8 addwf reg7,W ;een optelling movwf reg9 goto start end

  15. Oefeningen • Maak de som van reg7 + reg8 + reg9 = reg 0A • Maak onderstaande berekening <reg7>-<reg8>=<reg9> • Maak onderstaande berekening <reg10>+<reg11>-<reg12>=<reg13> • Zet reg14<7:6:5:4> op 0 • Zet reg15<3:2:1:0> op 1 • Complementeer reg16 • Maak het two’s complement van reg17 • Zet <reg16> op 0x00 als <reg17>=<reg18> • Zet <reg16> op 0x01 als <reg17>/=<reg18>

More Related