GuildOfWeavers / distaff

Zero-knowledge virtual machine written in Rust
MIT License
244 stars 44 forks source link

Implement INV operation #5

Closed bobbinth closed 4 years ago

bobbinth commented 4 years ago

INV instruction should be added to the instruction set.

This instruction will also enable division. But rather than having a dedicated division instruction, division can be computed as a sequence of 2 instructions: INV MUL