Skip to content

Commit 2266f39

Browse files
author
Christian Bender
authored
Update README.md
1 parent f286499 commit 2266f39

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ A simulator which provides a simplified assembler syntax (based on NASM) and is
2424
mov a, 2
2525
pow a, 3 ; after that the register A contains 8
2626
```
27+
- MOD (mod) : computes the modulo a % b (a MOD b)
28+
```asm
29+
; for example
30+
mov a, 15
31+
mod a, 4 ; after that the register A contains 3
32+
```
2733

2834
---
2935

0 commit comments

Comments
 (0)