microasm.isa (5426:0bdcc60ccc45) microasm.isa (5428:5a27fea50fee)
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 for num in range(15):
77 assembler.symbols["t%d" % num] = "NUM_INTREGS+%d" % num
78 for num in range(7):
79 assembler.symbols["ufp%d" % num] = "FLOATREG_MICROFP(%d)" % num
80 # Add in symbols for the segment descriptor registers
81 for letter in ("C", "D", "E", "F", "G", "S"):
82 assembler.symbols["%ss" % letter.lower()] = "SEGMENT_REG_%sS" % letter
83
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 for num in range(15):
77 assembler.symbols["t%d" % num] = "NUM_INTREGS+%d" % num
78 for num in range(7):
79 assembler.symbols["ufp%d" % num] = "FLOATREG_MICROFP(%d)" % num
80 # Add in symbols for the segment descriptor registers
81 for letter in ("C", "D", "E", "F", "G", "S"):
82 assembler.symbols["%ss" % letter.lower()] = "SEGMENT_REG_%sS" % letter
83
84 # Add in symbols for the various checks of segment selectors.
85 for check in ("NoCheck", "CSCheck", "CallGateCheck",
86 "SSCheck", "IretCheck", "IntCSCheck"):
87 assembler.symbols[check] = "Seg%s" % check
88
84 for reg in ("TR", "IDTR"):
85 assembler.symbols[reg.lower()] = "SYS_SEGMENT_REG_%s" % reg
86
87 for reg in ("TSL", "TSG"):
88 assembler.symbols[reg.lower()] = "SEGMENT_REG_%s" % reg
89
90 # Miscellaneous symbols
91 symbols = {

--- 93 unchanged lines hidden ---
89 for reg in ("TR", "IDTR"):
90 assembler.symbols[reg.lower()] = "SYS_SEGMENT_REG_%s" % reg
91
92 for reg in ("TSL", "TSG"):
93 assembler.symbols[reg.lower()] = "SEGMENT_REG_%s" % reg
94
95 # Miscellaneous symbols
96 symbols = {

--- 93 unchanged lines hidden ---