mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-22 16:18:11 +00:00
Made changes to appdx-scriptops.asciidoc
This commit is contained in:
parent
819b6afd72
commit
2a59e13375
@ -74,10 +74,10 @@
|
||||
[options="header"]
|
||||
|=======
|
||||
| Symbol | Value (hex) | Description
|
||||
| _OP_CAT_ | 0x7e | Disabled (Concatenates top two items)
|
||||
| _OP_SUBSTR_ | 0x7f | Disabled (Returns substring)
|
||||
| _OP_LEFT_ | 0x80 | Disabled (Returns left substring)
|
||||
| _OP_RIGHT_ | 0x81 | Disabled (Returns right substring)
|
||||
| _OP_CAT_ | 0x7e | Disabled (concatenates top two items)
|
||||
| _OP_SUBSTR_ | 0x7f | Disabled (returns substring)
|
||||
| _OP_LEFT_ | 0x80 | Disabled (returns left substring)
|
||||
| _OP_RIGHT_ | 0x81 | Disabled (returns right substring)
|
||||
| OP_SIZE | 0x82 | Calculate string length of top item and push the result
|
||||
|=======
|
||||
|
||||
@ -107,19 +107,19 @@
|
||||
| Symbol | Value (hex) | Description
|
||||
| OP_1ADD | 0x8b | Add 1 to the top item
|
||||
| OP_1SUB | 0x8c | Subtract 1 from the top item
|
||||
| _OP_2MUL_ | 0x8d | Disabled (Multiply top item by 2)
|
||||
| _OP_2DIV_ | 0x8e | Disabled (Divide top item by 2)
|
||||
| _OP_2MUL_ | 0x8d | Disabled (multiply top item by 2)
|
||||
| _OP_2DIV_ | 0x8e | Disabled (divide top item by 2)
|
||||
| OP_NEGATE | 0x8f | Flip the sign of top item
|
||||
| OP_ABS | 0x90 | Change the sign of the top item to positive
|
||||
| OP_NOT | 0x91 | If top item is 0 or 1 boolean flip it, otherwise return 0
|
||||
| OP_NOT | 0x91 | If top item is 0 or 1 Boolean flip it, otherwise return 0
|
||||
| OP_0NOTEQUAL | 0x92 | If top item is 0 return 0, otherwise return 1
|
||||
| OP_ADD | 0x93 | Pop top two items, add them and push result
|
||||
| OP_SUB | 0x94 | Pop top two items, subtract first from second, push result
|
||||
| OP_MUL | 0x95 | Disabled (Multiply top two items)
|
||||
| OP_DIV | 0x96 | Disabled (Divide second item by first item)
|
||||
| OP_MOD | 0x97 | Disabled (Remainder divide second item by first item)
|
||||
| OP_LSHIFT | 0x98 | Disabled (Shift second item left by first item number of bits)
|
||||
| OP_RSHIFT | 0x99 | Disabled (Shift second item right by first item number of bits)
|
||||
| OP_MUL | 0x95 | Disabled (multiply top two items)
|
||||
| OP_DIV | 0x96 | Disabled (divide second item by first item)
|
||||
| OP_MOD | 0x97 | Disabled (remainder divide second item by first item)
|
||||
| OP_LSHIFT | 0x98 | Disabled (shift second item left by first item number of bits)
|
||||
| OP_RSHIFT | 0x99 | Disabled (shift second item right by first item number of bits)
|
||||
| OP_BOOLAND | 0x9a | Boolean AND of top two items
|
||||
| OP_BOOLOR | 0x9b | Boolean OR of top two items
|
||||
| OP_NUMEQUAL | 0x9c | Return TRUE if top two items are equal numbers
|
||||
|
Loading…
Reference in New Issue
Block a user