debug: Fix CPSR flag interpretation
uart: Add two more tests