diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-03-29 17:57:18 +0000 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-03-29 17:57:18 +0000 |
commit | e67a207ad302e36fdfbb0a1eae0dadeef5b6a31d (patch) | |
tree | 788295c3ab820a4853010bfe01ca45c56b3fbfcd /src/arch/x86/isa/main.isa | |
parent | 5c4cc4b55271a39789b01565da073332677ae1bb (diff) | |
download | gem5-e67a207ad302e36fdfbb0a1eae0dadeef5b6a31d.tar.xz |
Add a microcode assembler. A microcode "program" is a series of statements. Each statement has an optional label at the beginning, a capitilized microcode class name which is roughly equivalent to a mnemonic in a regular ISA, and then an optional series of operands seperated by white space. The operands are either a decimal constant, a label, or a code fragment surrounded by non nested {}s. Labels are a letter or underscore followed by letters, underscores, or digits. The syntax for describing code segments might need to be changed if a need arrises to have {}s in the code itself.
--HG--
extra : convert_revision : 8e5cfdd1a3c9a7e3731fdf6acd615ee82ac2b9b7
Diffstat (limited to 'src/arch/x86/isa/main.isa')
-rw-r--r-- | src/arch/x86/isa/main.isa | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/x86/isa/main.isa b/src/arch/x86/isa/main.isa index e4103dea0..fe1d4e515 100644 --- a/src/arch/x86/isa/main.isa +++ b/src/arch/x86/isa/main.isa @@ -72,6 +72,9 @@ namespace X86ISA; +//Include the simple microcode assembler +##include "microasm.isa" + //Include the bitfield definitions ##include "bitfields.isa" |