Untitled
raw download clone
TEXT
views 15
,
size 376 b
.nolist

.include "m32def.inc"
.list

.cseg
.org 0
  
ldi R19,0x01
ldi R20,0xFF
OUT DDRA,R20
OUT PORTA,R19
jmp delay_5msec
start:
  lsl R19
  out PORTA,R19
  jmp delay_5msec
      
delay_5msec:
  ldi R17,5   
delay2:
  ldi R18,250
delay3:
  dec R18            
  nop
  brne delay3          

  dec R17            
  brne delay2  
  jmp start
close fullscreen
Login or Register to edit or fork this paste. It's free.