Thanks! I think this could be improved further by changing the names of the destination and source flags (all four of them) to make things clearer. While I'm at it, here's another bug: the last test of the program…
I've looked through the code a bit, I think your assembler is actually buggy. The expected results for the tests are correct, however the encoded instructions that you're feeding to the decoder are not. For example, A=1…
Thanks! I think this could be improved further by changing the names of the destination and source flags (all four of them) to make things clearer. While I'm at it, here's another bug: the last test of the program…
I've looked through the code a bit, I think your assembler is actually buggy. The expected results for the tests are correct, however the encoded instructions that you're feeding to the decoder are not. For example, A=1…