Hallo matscher,
also das Dim A as Byte ist dazu da eine variable zu deklarieren
das portd = &B00000000 heißt das alle portd 0 signal haben
If pind.2=1 and pind.3=1 then
port d.6 = 1
end if