0xMiden / 0xMiden/miden-vm

Support for drop of multiple elements

未关闭
#642 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
assembly
主要语言
Rust
星标
772
派生
352
平均合并
1 天 12 小时
30 天内合并 PR
93

描述

# Feature request

Quite often when writing MASM we have to move multiple elements around and drop them. To do that it would be useful for the `drop` opcode to support a bitmask, to determine which values to drop. For example:

```
push.4 push.3 push.2 push.1 # stack is [1,2,3,4]
drop.0b0101 # drop the second and forth element, stack becomes [1,3]
```

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。