source: tags/1.1.0/Extension.txt

Last change on this file was 11, checked in by chronos, 13 years ago
  • Added: Some other examples from web.
File size: 738 bytes
Line 
1L - Level
2PC - Program Counter
3A - Accumulator
4
5Base instruction
6================
7
8( L <= L + 1
9) L <= L - 1
10+ [P] <= [P] + 1
11- [P] <= [P] - 1
12, [P] <= IN
13. OUT <= [P]
14[ WHILE [P] > 0 DO BEGIN
15] END
16Faster data copying:
17# A <= [P]
18$ [P] <= A
19Subroutines:
20*NAME CALL
21@NAME SUBROUTINE
22& RETURN
23Backward compatibility:
24> [P-] <= [P-] + 1
25< [P-] <= [P-] - 1
26
27
28Examples
29========
30OutputInput: ,[.,]
31ClearValue: [-]
32ClearBlock(Count, Data): [+(-)-]
33InputBlock(Count, Data): [+(,)-]
34PrintBlock(Count, Data): [+(.)-]
35PrintBlockZeroDelimited(Data): [.)+(]
36Sum(Op1, Op2): )++([-])--([-)++(+)--(])+([-)+(+)-(])+(
37
38
39Usable symbols
40================
41$%*#&@{}m<>?.;:"'^~°!_-+§()/\|[]€ß÷׀
Note: See TracBrowser for help on using the repository browser.