microasm.isa (5667:78b94954f66a) microasm.isa (5671:379f926bc5ff)
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:

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

76 mainRom = X86MicrocodeRom('main ROM')
77 assembler = MicroAssembler(X86Macroop, microopClasses, mainRom, Rom_Macroop)
78 # Add in symbols for the microcode registers
79 for num in range(15):
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
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:

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

76 mainRom = X86MicrocodeRom('main ROM')
77 assembler = MicroAssembler(X86Macroop, microopClasses, mainRom, Rom_Macroop)
78 # Add in symbols for the microcode registers
79 for num in range(15):
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", "S"):
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",
89 "SSCheck", "IretCheck", "IntCSCheck"):
90 assembler.symbols[check] = "Seg%s" % check
91
92 for reg in ("TR", "IDTR"):

--- 108 unchanged lines hidden ---
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",
89 "SSCheck", "IretCheck", "IntCSCheck"):
90 assembler.symbols[check] = "Seg%s" % check
91
92 for reg in ("TR", "IDTR"):

--- 108 unchanged lines hidden ---