summaryrefslogtreecommitdiffstats
path: root/microbe
diff options
context:
space:
mode:
Diffstat (limited to 'microbe')
-rw-r--r--microbe/instruction.cpp6
-rw-r--r--microbe/main.cpp4
-rw-r--r--microbe/pic14.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/microbe/instruction.cpp b/microbe/instruction.cpp
index 26332c0..2a77b98 100644
--- a/microbe/instruction.cpp
+++ b/microbe/instruction.cpp
@@ -517,8 +517,8 @@ bool RegisterState::operator == ( const RegisterState & state ) const
void RegisterState::print()
{
- cout << " known="<<binary(known)<<endl;
- cout << " value="<<binary(value)<<endl;
+ cout << " known=" << binary(known).local8Bit() << endl;
+ cout << " value=" << binary(value).local8Bit() << endl;
}
//END class RegisterState
@@ -714,7 +714,7 @@ void ProcessorState::print()
RegisterMap::iterator end = m_registers.end();
for ( RegisterMap::iterator it = m_registers.begin(); it != end; ++it )
{
- cout << " " << it.key().name() << ":\n";
+ cout << " " << it.key().name().local8Bit() << ":\n";
it.data().print();
}
}
diff --git a/microbe/main.cpp b/microbe/main.cpp
index 7b6d5ab..affa666 100644
--- a/microbe/main.cpp
+++ b/microbe/main.cpp
@@ -64,14 +64,14 @@ int main(int argc, char **argv)
if ( !errorReport.isEmpty() )
{
- cerr << mb.errorReport();
+ cerr << mb.errorReport().local8Bit();
return 1; // If there was an error, don't write the output to file.
}
else
{
ofstream out(args->arg(1));
- out << s;
+ out << s.local8Bit();
return 0;
}
}
diff --git a/microbe/pic14.cpp b/microbe/pic14.cpp
index 5c92ef3..1ac4c27 100644
--- a/microbe/pic14.cpp
+++ b/microbe/pic14.cpp
@@ -135,7 +135,7 @@ PIC14::Type PIC14::toType( const TQString & _text )
if ( text == "16F628" )
return P16F628;
- cerr << TQString("%1 is not a known PIC identifier\n").arg(_text);
+ cerr << TQString("%1 is not a known PIC identifier\n").arg(_text).local8Bit();
return unknown;
}