microasm.isa (5671:379f926bc5ff) microasm.isa (5674:4a4f20dfbc60)
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:

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

80 assembler.symbols["t%d" % num] = "NUM_INTREGS+%d" % num
81 for num in range(7):
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.
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:

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

80 assembler.symbols["t%d" % num] = "NUM_INTREGS+%d" % num
81 for num in range(7):
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",
88 for check in ("NoCheck", "CSCheck", "CallGateCheck", "IntGateCheck",
89 "SSCheck", "IretCheck", "IntCSCheck"):
90 assembler.symbols[check] = "Seg%s" % check
91
92 for reg in ("TR", "IDTR"):
93 assembler.symbols[reg.lower()] = "SYS_SEGMENT_REG_%s" % reg
94
95 for reg in ("TSL", "TSG"):
96 assembler.symbols[reg.lower()] = "SEGMENT_REG_%s" % reg

--- 104 unchanged lines hidden ---
89 "SSCheck", "IretCheck", "IntCSCheck"):
90 assembler.symbols[check] = "Seg%s" % check
91
92 for reg in ("TR", "IDTR"):
93 assembler.symbols[reg.lower()] = "SYS_SEGMENT_REG_%s" % reg
94
95 for reg in ("TSL", "TSG"):
96 assembler.symbols[reg.lower()] = "SEGMENT_REG_%s" % reg

--- 104 unchanged lines hidden ---