Update README.md

This commit is contained in:
nora 2021-09-18 22:02:31 +02:00 committed by GitHub
parent 15743535ac
commit 1321903483
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,9 +10,10 @@ Usage: `$ ./m8db <filename>`
# Instructions:
* `INC r`
* `DEC r`
* `JUMP line`
* `JUMP label`
* `STOP`
* `IS_ZERO r line`
* `IS_ZERO r label`
* `.labelname`
Where `r` is a register number and `line` is a line number.
`IS_ZERO` jumps to `line` if `r` is zero
Where `r` is a register number and `label` is a label name.
`IS_ZERO` jumps to `label` if `r` is zero