| Zeile 63: | Zeile 63: | ||
char Bitmaske = 0x00; | char Bitmaske = 0x00; | ||
/** enable geht von 0 bis 1 | /** enable geht von 0 bis 1 | ||
| − | + | 0x01 ist in Bits 00000001b*/ | |
if (enable = 1){ | if (enable = 1){ | ||
Bitmaske = (Bitmaske | 0x01); | Bitmaske = (Bitmaske | 0x01); | ||
} | } | ||
/* privilege geht von 0 bis 3 | /* privilege geht von 0 bis 3 | ||
| − | + | 0x02 ist in Bits 00000010b | |
| − | + | 0x04 ist in Bits 00000100b | |
| − | + | 0x06 ist in Bits 00000110b*/ | |
if (privilege = 1) { | if (privilege = 1) { | ||
Bitmaske = (Bitmaske | 0x02); | Bitmaske = (Bitmaske | 0x02); | ||
| Zeile 91: | Zeile 91: | ||
Return(Bitmaske); | Return(Bitmaske); | ||
} | } | ||
| + | <!-- Urheber Be59; COde ist unter BSD_Lizenz --> | ||
=== Die Flags === | === Die Flags === | ||
{| {{Prettytable}} | {| {{Prettytable}} | ||