mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
initial commit
This commit is contained in:
commit
c2da007f40
1610 changed files with 398047 additions and 0 deletions
7
crypto/test/fift/testvm9.fif
Normal file
7
crypto/test/fift/testvm9.fif
Normal file
|
@ -0,0 +1,7 @@
|
|||
"Asm.fif" include
|
||||
<{ 2 INT 3 INT 9 INT NULL CONS CONS CONS }>s dup csr. runvmcode .s
|
||||
drop =: L
|
||||
<{ ZERO WHILE:<{ OVER ISNULL NOT }>DO<{ SWAP SECOND SWAP INC }> NIP }>s dup csr. =: ListLength
|
||||
L ListLength runvmcode .s 2drop
|
||||
<{ CONT:<{ DUP ISNULL IF:<{ 2DROP ZERO }>ELSE: CDR OVER EXECUTE INC }> TUCK JMPX }>s dup csr. =: ListLengthRec
|
||||
L ListLengthRec runvmcode .s 2drop
|
Loading…
Add table
Add a link
Reference in a new issue