microasm.isa (6345:f9ae7c3a036c) | microasm.isa (6457:f964c623723c) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2007-2008 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: --- 137 unchanged lines hidden (view full) --- 146 # like the internal segment above 147 assembler.symbols["flatseg"] = regIdx("SEGMENT_REG_LS") 148 149 for reg in ('ax', 'bx', 'cx', 'dx', 'sp', 'bp', 'si', 'di', \ 150 '8', '9', '10', '11', '12', '13', '14', '15'): 151 assembler.symbols["r%s" % reg] = \ 152 regIdx("INTREG_R%s" % reg.upper()) 153 | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2007-2008 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: --- 137 unchanged lines hidden (view full) --- 146 # like the internal segment above 147 assembler.symbols["flatseg"] = regIdx("SEGMENT_REG_LS") 148 149 for reg in ('ax', 'bx', 'cx', 'dx', 'sp', 'bp', 'si', 'di', \ 150 '8', '9', '10', '11', '12', '13', '14', '15'): 151 assembler.symbols["r%s" % reg] = \ 152 regIdx("INTREG_R%s" % reg.upper()) 153 |
154 for reg in ('ah', 'bh', 'ch', 'dh'): 155 assembler.symbols[reg] = \ 156 regIdx("INTREG_FOLDED(INTREG_%s, IntFoldBit)" % reg.upper()) 157 |
|
154 for reg in range(16): 155 assembler.symbols["cr%d" % reg] = regIdx("MISCREG_CR%d" % reg) 156 157 for flag in ('CF', 'PF', 'ECF', 'AF', 'EZF', 'ZF', 'SF', 'OF', \ 158 'TF', 'IF', 'NT', 'RF', 'VM', 'AC', 'VIF', 'VIP', 'ID'): 159 assembler.symbols[flag] = flag + "Bit" 160 161 for cond in ('True', 'False', 'ECF', 'EZF', 'SZnZF', --- 60 unchanged lines hidden --- | 158 for reg in range(16): 159 assembler.symbols["cr%d" % reg] = regIdx("MISCREG_CR%d" % reg) 160 161 for flag in ('CF', 'PF', 'ECF', 'AF', 'EZF', 'ZF', 'SF', 'OF', \ 162 'TF', 'IF', 'NT', 'RF', 'VM', 'AC', 'VIF', 'VIP', 'ID'): 163 assembler.symbols[flag] = flag + "Bit" 164 165 for cond in ('True', 'False', 'ECF', 'EZF', 'SZnZF', --- 60 unchanged lines hidden --- |