diff options
Diffstat (limited to 'mips/main.sail')
| -rw-r--r-- | mips/main.sail | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mips/main.sail b/mips/main.sail index 54fb34ee..45ced6d7 100644 --- a/mips/main.sail +++ b/mips/main.sail @@ -30,6 +30,10 @@ function fetch_and_execute () = { just continue from nextPC, which should have been set to the appropriate exception vector (along with clearing branchPending etc.) . */ }; + if UART_WRITTEN then { + putchar(unsigned(UART_WDATA)); + UART_WRITTEN = 0b0; + } } val elf_entry = { |
