ece554 Progress

Monday, October 23, 2006

Assembler status update #4

Assembler's basically done. Just need to get mem format working a little better.

ISA question

Should the Sub instruction really read
"subtracts reg b from reg a and stores the results in reg d" ?

Think of the instruction sub $2, $3, $4

To me that means, take $2, subtract $3 from it, and store it in $4.

Subtract the contents of register A from register B and store the result in D

Assembler status update #3

I stayed up all night ( don't ask me why)

Anyway,
the only things left to do with the assembler are:
-implement all the arithmetic instructions
-implement the bitwise instructions
-implement loads & stores
-finish documentation
-build in a way to write to binary instead of plain text like the file is right now.

Sunday, October 22, 2006

Assembler status update #2

Added support for immediates
assembler now decodes a few instructions, i.e. NOP, HLT, and jr.
-built a method for translating register #'s into binary


Todo:
-Labels
-Memory operand types
-more documentation

Assembler status update

This is the first post on our blog.

Updates on the assembler:
TODO
-DEFINES / constants
-Labels, i.e building a symbol table
-handling memory operand types
-more documentation

assembler is roughly 60% done.

Work on simulator has not started yet.