--- a/tool/CommandXml.cpp Mon Mar 29 18:04:17 2010 +0200
+++ b/tool/CommandXml.cpp Wed Apr 07 13:50:47 2010 +0200
@@ -143,9 +143,9 @@
cout
<< in << " <Sm Enable=\"" << dec << (unsigned int) sync.enable
- << "\" StartAddress=\"" << sync.physical_start_address
- << "\" ControlByte=\"" << (unsigned int) sync.control_register
- << "\" DefaultSize=\"" << sync.default_size
+ << "\" StartAddress=\"#x" << hex << sync.physical_start_address
+ << "\" ControlByte=\"#x" << hex << (unsigned int) sync.control_register
+ << "\" DefaultSize=\"" << dec << sync.default_size
<< "\" />" << endl;
}