diff --git a/20230419/blink-01.c b/20230419/blink-01.c index 4533b28855403a8978ba20a3e04c895beb4a8743..d8e41fec98fa81a1c7191979e2743b4bf812f1c7 100644 --- a/20230419/blink-01.c +++ b/20230419/blink-01.c @@ -10,7 +10,7 @@ int main (void) while (1) { _delay_ms (250); - PORTB = 0x00 /* Hexadezimalzahl. Binär: 0000 0000 */; + PORTB = 0x00; /* Hexadezimalzahl. Binär: 0000 0000 */ _delay_ms (250); PORTB = 0x20; /* Hexadezimalzahl. Binär: 0010 0000 */ } /* Bits zählen: ^ ^ ^------ Bit 0 */ diff --git a/20230419/blink-01.s b/20230419/blink-01.s index b5fd96ce2f3e1ceb3bd512bdfda0a290bf6cfdc6..5af1999f7cd16a6828185cb9deb100e53eebf792 100644 --- a/20230419/blink-01.s +++ b/20230419/blink-01.s @@ -29,7 +29,7 @@ main: out 0x5,__zero_reg__ ; while (1) ldi r18,lo8(799999) ; { ldi r19,hi8(799999) ; _delay_ms (250); - ldi r25,hlo8(799999) ; PORTB = 0x00 /* Hexadezimalzahl. Binär: 0000 0000 */; + ldi r25,hlo8(799999) ; PORTB = 0x00; /* Hexadezimalzahl. Binär: 0000 0000 */ 1: subi r18,1 ; _delay_ms (250); sbci r19,0 ; PORTB = 0x20; /* Hexadezimalzahl. Binär: 0010 0000 */ sbci r25,0 ; } /* Bits zählen: ^ ^ ^------ Bit 0 */