refactor out more common code.
fix opcode number in phxn test.
add code blocks for banking ROM and work on BRK test.
improve formatting and fix several bugs in the 00brk test.