* Instantiate an opcode from a small number. * @param {Number} num * @returns {Opcode}
(num)
| 493 | */ |
| 494 | |
| 495 | static fromSmall(num) { |
| 496 | assert((num & 0xff) === num && num >= 0 && num <= 16); |
| 497 | return this.fromOp(num === 0 ? 0 : num + 0x50); |
| 498 | } |
| 499 | |
| 500 | /** |
| 501 | * Instantiate an opcode from a ScriptNum. |
no test coverage detected