tool/CommandXml.cpp
changeset 1980 a89e2bedf004
parent 1890 b64e3791075d
child 1968 4f682084c643
--- a/tool/CommandXml.cpp	Fri Mar 19 13:27:08 2010 +0100
+++ b/tool/CommandXml.cpp	Thu Apr 29 14:05:15 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;
     }