2 ; test all ports and uart
5 .include "../include/m32def.inc"
16 ; uart baudrate (8mhz -> 38.4k) + enable
36 ; the dely loop in the delay loop
50 ; increase loop counter
56 ; continue if loop counter = 0xff
60 ; shift the led counter
63 ; set first bit if led counter is equal zero
77 ; get the number we want to transmit
79 ldi r20,0x30 ; ascii 0
90 ; try again if uart not ready