Skip to content

Commit 746a4bd

Browse files
committed
Update readme
1 parent b6178f8 commit 746a4bd

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ The MLOG instructions are encoded with an I-type instruction format using the _c
3939

4040
The MLOGSYS instruction is used for simple system controls, including halt, `printchar`, `printflush`, `drawflush`, and sortKB/kbconv integration.
4141

42-
| funct12 | rs1 | rd | name |
43-
| ------- | ------- | ----------------------- | -------------------------- |
44-
| 0 | `00000` | `00000` | Halt |
45-
| 1 | char | `00000` | `printchar` |
46-
| 2 | `00000` | `00000` | `printflush` |
47-
| 3 | `00000` | `00000` | `drawflush` |
48-
| 4 | `00000` | char (0 if no new data) | Read next char from sortKB |
42+
| funct12 | rd | rs1 | name |
43+
| ------- | ----------------------- | ------- | -------------------------- |
44+
| 0 | `00000` | `00000` | Halt |
45+
| 1 | `00000` | char | `printchar` |
46+
| 2 | `00000` | `00000` | `printflush` |
47+
| 3 | `00000` | `00000` | `drawflush` |
48+
| 4 | char (0 if no new data) | `00000` | Read next char from sortKB |
4949

5050
The MLOGDRAW instruction is used for drawing graphics using the Mlog `draw` instruction. Arguments are passed to this instruction using registers a0 to a5 as necessary, and any return value is placed in _rd_. If _rd_ is specified as `00000` in the below table, no value will be written to `rd` in any case.
5151

0 commit comments

Comments
 (0)