microasm.isa (9372:7ba317c33683) microasm.isa (9471:4193ed60eed7)
1// -*- mode:c++ -*-
2
3// Copyright (c) 2007-2008 The Hewlett-Packard Development Company
4// All rights reserved.
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

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

207 assembler.symbols["sti"] = stack_index("env.reg")
208 assembler.symbols["stim"] = stack_index("env.regm")
209
210 def readFpReg(reg_name):
211 return regIdx("MISCREG_%s" % reg_name)
212
213 assembler.symbols["fsw"] = readFpReg("FSW")
214 assembler.symbols["fcw"] = readFpReg("FCW")
1// -*- mode:c++ -*-
2
3// Copyright (c) 2007-2008 The Hewlett-Packard Development Company
4// All rights reserved.
5//
6// The license below extends only to copyright in the software and shall
7// not be construed as granting a license to any other intellectual
8// property including but not limited to intellectual property relating

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

207 assembler.symbols["sti"] = stack_index("env.reg")
208 assembler.symbols["stim"] = stack_index("env.regm")
209
210 def readFpReg(reg_name):
211 return regIdx("MISCREG_%s" % reg_name)
212
213 assembler.symbols["fsw"] = readFpReg("FSW")
214 assembler.symbols["fcw"] = readFpReg("FCW")
215 assembler.symbols["ftw"] = readFpReg("FTW")
215
216 macroopDict = assembler.assemble(microcode)
217
218 decoder_output += mainRom.getDefinition()
219 header_output += mainRom.getDeclaration()
220}};
216
217 macroopDict = assembler.assemble(microcode)
218
219 decoder_output += mainRom.getDefinition()
220 header_output += mainRom.getDeclaration()
221}};