microasm.isa (5855:d4e54239ed37) | microasm.isa (5899:b702f4fdf16c) |
---|---|
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: --- 72 unchanged lines hidden (view full) --- 81 for num in range(8): 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", | 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: --- 72 unchanged lines hidden (view full) --- 81 for num in range(8): 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"): | 89 "SoftIntGateCheck", "SSCheck", "IretCheck", "IntCSCheck", 90 "TRCheck"): |
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 97 --- 113 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 --- 113 unchanged lines hidden --- |