microasm.isa (5029:68c3f3be8c8a) | microasm.isa (5045:bf06c4d63bf4) |
---|---|
1// -*- mode:c++ -*- 2 3// Copyright (c) 2007 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: --- 61 unchanged lines hidden (view full) --- 70 from insts import microcode 71 # print microcode 72 from micro_asm import MicroAssembler, Rom_Macroop, Rom 73 mainRom = Rom('main ROM') 74 assembler = MicroAssembler(X86Macroop, microopClasses, mainRom, Rom_Macroop) 75 # Add in symbols for the microcode registers 76 for num in range(15): 77 assembler.symbols["t%d" % num] = "NUM_INTREGS+%d" % num | 1// -*- mode:c++ -*- 2 3// Copyright (c) 2007 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: --- 61 unchanged lines hidden (view full) --- 70 from insts import microcode 71 # print microcode 72 from micro_asm import MicroAssembler, Rom_Macroop, Rom 73 mainRom = Rom('main ROM') 74 assembler = MicroAssembler(X86Macroop, microopClasses, mainRom, Rom_Macroop) 75 # Add in symbols for the microcode registers 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 |
|
78 # Add in symbols for the segment descriptor registers 79 for letter in ("C", "D", "E", "F", "G", "S"): 80 assembler.symbols["%ss" % letter.lower()] = "SEGMENT_REG_%sS" % letter 81 # Miscellaneous symbols 82 symbols = { 83 "reg" : "env.reg", 84 "xmml" : "FLOATREG_XMM_LOW(env.reg)", 85 "xmmh" : "FLOATREG_XMM_HIGH(env.reg)", --- 53 unchanged lines hidden --- | 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 # Miscellaneous symbols 84 symbols = { 85 "reg" : "env.reg", 86 "xmml" : "FLOATREG_XMM_LOW(env.reg)", 87 "xmmh" : "FLOATREG_XMM_HIGH(env.reg)", --- 53 unchanged lines hidden --- |