0xMiden / 0xMiden/miden-vm

Support for drop of multiple elements

Đang mở
#642 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
assembly
Ngôn ngữ chính
Rust
Star
772
Fork
352
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
93

Mô tả

# 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]
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.