New instructions, updated examples

This commit is contained in:
2021-09-29 18:48:54 +02:00
parent 8f74c747cd
commit 8f6770013c
4 changed files with 54 additions and 32 deletions

View File

@@ -2,10 +2,17 @@ INT tot
INT n
INT j
INT te
IN INT tot numero massimo
SET n 0
IN INT tot numero massimo
SET n 1
:scn
SET j 1
OUT $n$\n
:sieve
MOD n j te
JE sieve tot
OUT $n$
OUT j: $j$ \n
OUT te: $te$ \n
INC j
JME scn j n
JM sieve te 0
INC n
JLE scn n tot