microasm.isa (5930:ec124ac0984b) microasm.isa (5936:c30088a243ad)
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:

--- 73 unchanged lines hidden (view full) ---

82 assembler.symbols["ufp%d" % num] = "FLOATREG_MICROFP(%d)" % num
83 # Add in symbols for the segment descriptor registers
84 for letter in ("C", "D", "E", "F", "G", "H", "S"):
85 assembler.symbols["%ss" % letter.lower()] = "SEGMENT_REG_%sS" % letter
86
87 # Add in symbols for the various checks of segment selectors.
88 for check in ("NoCheck", "CSCheck", "CallGateCheck", "IntGateCheck",
89 "SoftIntGateCheck", "SSCheck", "IretCheck", "IntCSCheck",
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:

--- 73 unchanged lines hidden (view full) ---

82 assembler.symbols["ufp%d" % num] = "FLOATREG_MICROFP(%d)" % num
83 # Add in symbols for the segment descriptor registers
84 for letter in ("C", "D", "E", "F", "G", "H", "S"):
85 assembler.symbols["%ss" % letter.lower()] = "SEGMENT_REG_%sS" % letter
86
87 # Add in symbols for the various checks of segment selectors.
88 for check in ("NoCheck", "CSCheck", "CallGateCheck", "IntGateCheck",
89 "SoftIntGateCheck", "SSCheck", "IretCheck", "IntCSCheck",
90 "TRCheck", "TSSCheck"):
90 "TRCheck", "TSSCheck", "InGDTCheck", "LDTCheck"):
91 assembler.symbols[check] = "Seg%s" % check
92
93 for reg in ("TR", "IDTR"):
94 assembler.symbols[reg.lower()] = "SYS_SEGMENT_REG_%s" % reg
95
96 for reg in ("TSL", "TSG"):
97 assembler.symbols[reg.lower()] = "SEGMENT_REG_%s" % reg
98

--- 114 unchanged lines hidden ---
91 assembler.symbols[check] = "Seg%s" % check
92
93 for reg in ("TR", "IDTR"):
94 assembler.symbols[reg.lower()] = "SYS_SEGMENT_REG_%s" % reg
95
96 for reg in ("TSL", "TSG"):
97 assembler.symbols[reg.lower()] = "SEGMENT_REG_%s" % reg
98

--- 114 unchanged lines hidden ---