Pushes left and right shift tables
(stack: &mut StackTracker)
| 27 | |
| 28 | /// Pushes left and right shift tables |
| 29 | pub fn u4_push_shift_tables_stack(stack: &mut StackTracker) -> StackVariable { |
| 30 | stack.var( |
| 31 | 16 * 6, |
| 32 | script! { {u4_push_lshift_tables()} {u4_push_rshift_tables()}}, |
| 33 | "shift_tables", |
| 34 | ) |
| 35 | } |
| 36 | |
| 37 | /// Calculates n'th right shift of the top u4 element with both tables |
| 38 | pub fn u4_rshift_stack(stack: &mut StackTracker, tables: StackVariable, n: u32) -> StackVariable { |
no outgoing calls