diff --git a/cp0.json b/cp0.json index 1af166c..e23f5dc 100644 --- a/cp0.json +++ b/cp0.json @@ -3359,7 +3359,30 @@ "operands": [] }, "value_flow": { - "doc_stack": "x y - x+y" + "doc_stack": "x y - x+y", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -3377,7 +3400,30 @@ "operands": [] }, "value_flow": { - "doc_stack": "x y - x-y" + "doc_stack": "x y - x-y", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -3395,7 +3441,30 @@ "operands": [] }, "value_flow": { - "doc_stack": "x y - y-x" + "doc_stack": "x y - y-x", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -3413,7 +3482,25 @@ "operands": [] }, "value_flow": { - "doc_stack": "x - -x" + "doc_stack": "x - -x", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -3467,7 +3554,25 @@ "operands": [] }, "value_flow": { - "doc_stack": "x - x-1" + "doc_stack": "x - x-1", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -3493,7 +3598,25 @@ ] }, "value_flow": { - "doc_stack": "x - x+cc" + "doc_stack": "x - x+cc", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -3519,7 +3642,25 @@ ] }, "value_flow": { - "doc_stack": "x - x*cc" + "doc_stack": "x - x*cc", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5190,7 +5331,25 @@ ] }, "value_flow": { - "doc_stack": "x - x" + "doc_stack": "x - x", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5216,7 +5375,25 @@ ] }, "value_flow": { - "doc_stack": "x - x" + "doc_stack": "x - x", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5234,7 +5411,30 @@ "operands": [] }, "value_flow": { - "doc_stack": "x c - x" + "doc_stack": "x c - x", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "c", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5252,7 +5452,30 @@ "operands": [] }, "value_flow": { - "doc_stack": "x c - x" + "doc_stack": "x c - x", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "c", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5270,7 +5493,25 @@ "operands": [] }, "value_flow": { - "doc_stack": "x - c" + "doc_stack": "x - c", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "c", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5288,13 +5529,31 @@ "operands": [] }, "value_flow": { - "doc_stack": "x - c" - } - }, - { - "mnemonic": "MIN", - "doc": { - "category": "arithm_logical", + "doc_stack": "x - c", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "c", + "value_types": ["Integer"] + } + ] + } + } + }, + { + "mnemonic": "MIN", + "doc": { + "category": "arithm_logical", "description": "Computes the minimum of two integers `x` and `y`.", "gas": "26", "fift": "MIN" @@ -5388,7 +5647,35 @@ "operands": [] }, "value_flow": { - "doc_stack": "x y - x y or y x" + "doc_stack": "x y - x y or y x", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "r1", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "r2", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5406,7 +5693,25 @@ "operands": [] }, "value_flow": { - "doc_stack": "x - |x|" + "doc_stack": "x - |x|", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5547,7 +5852,25 @@ "operands": [] }, "value_flow": { - "doc_stack": "x - -x" + "doc_stack": "x - -x", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5565,7 +5888,25 @@ "operands": [] }, "value_flow": { - "doc_stack": "x - x+1" + "doc_stack": "x - x+1", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5583,7 +5924,25 @@ "operands": [] }, "value_flow": { - "doc_stack": "x - x-1" + "doc_stack": "x - x-1", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5642,7 +6001,30 @@ "operands": [] }, "value_flow": { - "doc_stack": "x y - q" + "doc_stack": "x y - q", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5660,7 +6042,30 @@ "operands": [] }, "value_flow": { - "doc_stack": "x y - q\u0432\u0402\u2122" + "doc_stack": "x y - q\u0432\u0402\u2122", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5678,7 +6083,30 @@ "operands": [] }, "value_flow": { - "doc_stack": "x y - q''" + "doc_stack": "x y - q''", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5696,7 +6124,30 @@ "operands": [] }, "value_flow": { - "doc_stack": "x y - r" + "doc_stack": "x y - r", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5714,7 +6165,35 @@ "operands": [] }, "value_flow": { - "doc_stack": "x y - q r" + "doc_stack": "x y - q r", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "q", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "r", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5732,7 +6211,35 @@ "operands": [] }, "value_flow": { - "doc_stack": "x y - q' r'" + "doc_stack": "x y - q' r'", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "q", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "r", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5750,7 +6257,35 @@ "operands": [] }, "value_flow": { - "doc_stack": "x y - q'' r''" + "doc_stack": "x y - q'' r''", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "q", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "r", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5768,7 +6303,35 @@ "operands": [] }, "value_flow": { - "doc_stack": "x y z - q'" + "doc_stack": "x y z - q'", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "z", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "q", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5786,7 +6349,35 @@ "operands": [] }, "value_flow": { - "doc_stack": "x y z - q r" + "doc_stack": "x y z - q r", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "q", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "r", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5804,7 +6395,30 @@ "operands": [] }, "value_flow": { - "doc_stack": "x y - x*2^y" + "doc_stack": "x y - x*2^y", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5822,7 +6436,30 @@ "operands": [] }, "value_flow": { - "doc_stack": "x y - floor(x/2^y)" + "doc_stack": "x y - floor(x/2^y)", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5840,7 +6477,25 @@ "operands": [] }, "value_flow": { - "doc_stack": "y - 2^y" + "doc_stack": "y - 2^y", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5858,7 +6513,30 @@ "operands": [] }, "value_flow": { - "doc_stack": "x y - x&y" + "doc_stack": "x y - x&y", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5876,7 +6554,30 @@ "operands": [] }, "value_flow": { - "doc_stack": "x y - x|y" + "doc_stack": "x y - x|y", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5894,7 +6595,30 @@ "operands": [] }, "value_flow": { - "doc_stack": "x y - x xor y" + "doc_stack": "x y - x xor y", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "y", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5912,7 +6636,25 @@ "operands": [] }, "value_flow": { - "doc_stack": "x - ~x" + "doc_stack": "x - ~x", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "result", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5938,7 +6680,25 @@ ] }, "value_flow": { - "doc_stack": "x - x" + "doc_stack": "x - x", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5964,7 +6724,25 @@ ] }, "value_flow": { - "doc_stack": "x - x" + "doc_stack": "x - x", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + } } }, { @@ -5982,7 +6760,30 @@ "operands": [] }, "value_flow": { - "doc_stack": "x c - x" + "doc_stack": "x c - x", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "c", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + } } }, { @@ -6000,7 +6801,30 @@ "operands": [] }, "value_flow": { - "doc_stack": "x c - x" + "doc_stack": "x c - x", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + }, + { + "type": "simple", + "name": "c", + "value_types": ["Integer"] + } + ] + }, + "outputs": { + "stack": [ + { + "type": "simple", + "name": "x", + "value_types": ["Integer"] + } + ] + } } }, { @@ -6938,7 +7762,25 @@ "operands": [] }, "value_flow": { - "doc_stack": "s s' - ?" + "doc_stack": "s s' - ?", + "inputs": { + "stack": [ + { + "type": "simple", + "name": "s", + "value_types": ["Slice"] + }, + { + "type": "simple", + "name": "s2", + "value_types": ["Slice"] + } + ] + }, + "outputs": { + "stack": [ + ] + } } }, {