X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Fatmel.git;a=blobdiff_plain;f=beginners%2Ftest_int.asm;h=91fb4b37ceeda6145e0d126dff9ecf4cf15591c8;hp=904a3529df7748ba7478b2930352b701bb9b456c;hb=c27a5b4bafdf5610c566f866b37b447223c37145;hpb=e9e90c0e0e5bb001a0afb0666dbabc1a8a1c6f23 diff --git a/beginners/test_int.asm b/beginners/test_int.asm index 904a352..91fb4b3 100644 --- a/beginners/test_int.asm +++ b/beginners/test_int.asm @@ -66,6 +66,9 @@ ldi r16, 11 ; "38400 bps wert" in r16 out UBRR, r16 ; write to uart baudrate register sbi UCR, (RXEN|TXEN|RXCIE) ; enable tx at uart control register +ldi r16, 0x7C +out DDRD, r16 + sei MAIN: