Курсовая работа: Программно управляемый генератор линейно-нарастающего напряжения на микроконтроллере
rjmp m0
m8: ldi led, 0b01111111
ldi timeh,$02
ldi timel,$C6
out OCR1AH, timeh
out OCR1AL, timel
out PORTB,led
rjmp m0
Timer:inc Ampl
out PORTA,Ampl
reti ; прерывание от Т1
Файл проекта VMLAB
; ************************************************************
; PROJECT:
; AUTHOR:
; ************************************************************
; Micro + software running
; ------------------------------------------------------------
.MICRO "AT90S8515"
.PROGRAM "my_idea.asm"
.TARGET "my_idea.hex"
.TRACE ; Activate micro trace
; Following lines are optional; if not included
; exactly these values are taken by default
; ------------------------------------------------------------
.POWER VDD=5 VSS=0 ; Power nodes
.CLOCK 4meg ; Micro clock
.STORE 1000m ; Trace (micro+signals) storage time
; Micro nodes: RESET, PA0-PA7, PB0-PB7, PC0-PC7, PD0-PD7, PE0-PE2, ACO, TIM1OVF