Gast
#1588722
In der BASCOM-AVR Hilfe findet sich folgender Text: | To refer to the bit number you must precede the variable name by BIT. | | Sbrs R16 , BIT.B 'notice the point! | | Since this was the first dimensioned bit the bit number is 7. | Bits are stored in bytes and the first dimensioned bit goes in | the LS bit. Nach meinem Verständnis bedeutet das Folgendes: 1. Wer gezielt eine bestimmte Bit-Position besetzten möchte, muss notfalls zuvor eine geeignete Anzahl Dummy-Bits dimensionieren. 2. Das LS-Bit trägt die Nummer 7, das MS-Bit die Nummer 0. Stimmt das so? Falls ja, fände ich das etwas eigenwillig.