Utils for Computer Composition course, BUAA
- BUGFIX: Fix core loop bugs for continuations and interuption
- FEATURE: Add Lua Instruction Extension
- Display Fux: do not display HI/LO value
- Display Fix: use P6 lh/lb format
- Instruction Loader: Load instruction in lua script
- OUTPUT FORMAT: change output to ise format
- BUGFIX: branch instructions now use signedext in bin code
- BUGFIX: save and load instructions now use signedext
- Output debug info in IO window.
- Add support for hex machine instructions
gem install nokogiri
template file must have tag
ruby -w mockingbird.rb <modulename> <template-filename> <target-filename>
python decoder.py -h
Op:
- j - jal - beq - bne - blez - bgtz - addi
- addiu - stli - stliu - andi - ori - xori
- lui - lb - lh - lwl - lw - lbu - lhu - lwr
- sb - sh - swl - sw - swr
Func:
- nop - jr - addu - subu
Rd:
- bltz - bgez