Пример #1
0
 virtual NamedModeVector       GetModes(void) const
 {
   NamedModeVector X86Modes;
   X86Modes.reserve(3);
   // LATER: Check if it's not better to expose real, protected(16-bit/32-bit), long
   X86Modes.push_back(NamedMode("16-bit", X86_Bit_16));
   X86Modes.push_back(NamedMode("32-bit", X86_Bit_32));
   X86Modes.push_back(NamedMode("64-bit", X86_Bit_64));
   return X86Modes;
 }
Пример #2
0
 virtual NamedModeVector GetModes(void) const
 {
   NamedModeVector Avr8Modes;
   Avr8Modes.reserve(1);
   Avr8Modes.push_back(NamedMode("avr8", 0));
   return Avr8Modes;
 }