microasm.isa (5232:d3801ea2792e) | microasm.isa (5241:a6602acdd046) |
---|---|
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: --- 99 unchanged lines hidden (view full) --- 108 109 # This segment selects an internal address space mapped to MSRs, 110 # CPUID info, etc. 111 assembler.symbols["intseg"] = "SEGMENT_REG_INT" 112 113 for reg in ('ax', 'bx', 'cx', 'dx', 'sp', 'bp', 'si', 'di'): 114 assembler.symbols["r%s" % reg] = "INTREG_R%s" % reg.upper() 115 | 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: --- 99 unchanged lines hidden (view full) --- 108 109 # This segment selects an internal address space mapped to MSRs, 110 # CPUID info, etc. 111 assembler.symbols["intseg"] = "SEGMENT_REG_INT" 112 113 for reg in ('ax', 'bx', 'cx', 'dx', 'sp', 'bp', 'si', 'di'): 114 assembler.symbols["r%s" % reg] = "INTREG_R%s" % reg.upper() 115 |
116 for reg in range(15): 117 assembler.symbols["cr%d" % reg] = "MISCREG_CR%d" % reg 118 |
|
116 for flag in ('CF', 'PF', 'ECF', 'AF', 'EZF', 'ZF', 'SF', 'OF'): 117 assembler.symbols[flag] = flag + "Bit" 118 119 for cond in ('True', 'False', 'ECF', 'EZF', 'SZnZF', 120 'MSTRZ', 'STRZ', 'MSTRC', 121 'OF', 'CF', 'ZF', 'CvZF', 122 'SF', 'PF', 'SxOF', 'SxOvZF'): 123 assembler.symbols["C%s" % cond] = "ConditionTests::%s" % cond --- 31 unchanged lines hidden --- | 119 for flag in ('CF', 'PF', 'ECF', 'AF', 'EZF', 'ZF', 'SF', 'OF'): 120 assembler.symbols[flag] = flag + "Bit" 121 122 for cond in ('True', 'False', 'ECF', 'EZF', 'SZnZF', 123 'MSTRZ', 'STRZ', 'MSTRC', 124 'OF', 'CF', 'ZF', 'CvZF', 125 'SF', 'PF', 'SxOF', 'SxOvZF'): 126 assembler.symbols["C%s" % cond] = "ConditionTests::%s" % cond --- 31 unchanged lines hidden --- |