Term2 runs fine while term1 can give output for R D U instructions. The output to Term1 is incorrect. It seems that the memory related stuff (memory, serial) is buggy.