Changeset 65828 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Feb 21, 2017 9:55:39 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllInstructionsPython.py
r65825 r65828 199 199 200 200 # Invert and convert to bytearray and return it. 201 abValue = bytearray([int(sHex[offHex - 2 : offHex], 16) for offHex in xrange(len(sHex), 0, -2)]);201 abValue = bytearray([int(sHex[offHex - 2 : offHex], 16) for offHex in range(len(sHex), 0, -2)]); 202 202 203 203 return (fSignExtend, abValue); … … 704 704 """ 705 705 if self.fDebug: 706 print 'debug: %s' % (sMessage,); 706 print('debug: %s' % (sMessage,)); 707 707 708 708 709 def addInstruction(self, iLine = None): … … 1903 1904 cErrors = SimpleParser(sSrcFile, asLines, sDefaultMap).parse(); 1904 1905 except ParserException as oXcpt: 1905 print str(oXcpt);1906 print(str(oXcpt)); 1906 1907 raise; 1907 1908 except Exception as oXcpt:
Note:
See TracChangeset
for help on using the changeset viewer.