microasm.isa (4615:4ee8c5745c5d) | microasm.isa (4620:5acc50eeacf7) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2007 The Hewlett-Packard Development Company 4// All rights reserved. 5// 6// Redistribution and use of this software in source and binary forms, 7// with or without modification, are permitted provided that the 8// following conditions are met: --- 77 unchanged lines hidden (view full) --- 86 "disp" : "DISPLACEMENT", 87 "scale" : "env.scale", 88 "index" : "env.index", 89 "base" : "env.base", 90 "dsz" : "env.dataSize", 91 "osz" : "env.operandSize", 92 "ssz" : "env.stackSize" 93 } | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2007 The Hewlett-Packard Development Company 4// All rights reserved. 5// 6// Redistribution and use of this software in source and binary forms, 7// with or without modification, are permitted provided that the 8// following conditions are met: --- 77 unchanged lines hidden (view full) --- 86 "disp" : "DISPLACEMENT", 87 "scale" : "env.scale", 88 "index" : "env.index", 89 "base" : "env.base", 90 "dsz" : "env.dataSize", 91 "osz" : "env.operandSize", 92 "ssz" : "env.stackSize" 93 } |
94 95 for reg in ('ax', 'bx', 'cx', 'dx', 'sp', 'bp', 'si', 'di'): 96 assembler.symbols["r%s" % reg] = "INTREG_R%s" % reg.upper() |
|
94 assembler.symbols.update(symbols) 95 96 # Code literal which forces a default 64 bit operand size in 64 bit mode. 97 assembler.symbols["oszIn64Override"] = ''' 98 if (machInst.mode.submode == SixtyFourBitMode && 99 env.dataSize == 4) 100 env.dataSize = 8; 101 ''' 102 103 macroopDict = assembler.assemble(microcode) 104}}; | 97 assembler.symbols.update(symbols) 98 99 # Code literal which forces a default 64 bit operand size in 64 bit mode. 100 assembler.symbols["oszIn64Override"] = ''' 101 if (machInst.mode.submode == SixtyFourBitMode && 102 env.dataSize == 4) 103 env.dataSize = 8; 104 ''' 105 106 macroopDict = assembler.assemble(microcode) 107}}; |