Skip to content

Commit

Permalink
update readme to use better syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
lionkor authored Mar 30, 2023
1 parent 6283db7 commit b5e625b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You can find the **full language reference** here: [Reference.md](./Reference.md
Find more examples in the [examples](./examples) directory.

Adding 123 and 456:
```nasm
```gas
push 123
push 456
add
Expand All @@ -21,7 +21,7 @@ halt
-> `579`

Adding 5 and 6, then multiplying by 1 (operator precedence):
```nasm
```gas
push 1
push 5
push 6
Expand All @@ -33,7 +33,7 @@ halt
-> `11`

Multiplying 42 by itself by use of `dup`:
```nasm
```gas
push 42
dup
mul
Expand Down Expand Up @@ -72,7 +72,7 @@ print("1")
Takes about 7.76 seconds on the above machine.

The same algorithm in MCL:
```nasm
```gas
:start
# prime `p` to check
push 100002493
Expand Down

0 comments on commit b5e625b

Please sign in to comment.