Влвщлвлв

This commit is contained in:
Aer Iz 2024-02-17 01:56:13 +02:00
parent 7a781b0849
commit 8c9b0008a3
5 changed files with 37 additions and 3 deletions

4
.gitignore vendored
View File

@ -4,6 +4,4 @@
spec.md spec.md
default.nix default.nix
lbr lbr
std/

11
std/print.lb Normal file
View File

@ -0,0 +1,11 @@
; Copyright (C) 2024 Bedohswe
; Licensed under WTFPL <http://www.wtfpl.net>
@ 0
args 1
kjz 1
putc
jmp 0
@ 1
quit

4
std/rev.lb Normal file
View File

@ -0,0 +1,4 @@
; Copyright (C) 2024 Aer Iz
; Licensed under WTFPL <http://www.wtfpl.net>
args 0

4
std/rot.lb Normal file
View File

@ -0,0 +1,4 @@
; Copyright (C) 2024 Aer Iz
; Licensed under WTFPL <http://www.wtfpl.net>
args 3

View File

@ -0,0 +1,17 @@
; Copyright (C) 2024 Aer Iz
; Licensed under WTFPL <http://www.wtfpl.net>
maxsize
args 1 ; Насколько сварить носок
sub
@ 1
kjnz 2
quit
@ 2
#expr -
push -1
_unix_random
swap
jmp 1