Deleted Added
sdiff udiff text old ( 5674:4a4f20dfbc60 ) new ( 5676:cca6726c0d88 )
full compact
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:

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

183
184 assembler.symbols["label"] = labeler
185
186 def rom_labeler(labelStr):
187 return "romMicroPC(RomLabels::extern_label_%s)" % labelStr
188
189 assembler.symbols["rom_label"] = rom_labeler
190
191 def stack_index(index):
192 return "(NUM_FLOATREGS + (((%s) + 8) %% 8))" % index
193
194 assembler.symbols["st"] = stack_index
195
196 macroopDict = assembler.assemble(microcode)
197
198 decoder_output += mainRom.getDefinition()
199 header_output += mainRom.getDeclaration()
200}};