Skip to content

Commit

Permalink
Add bldd case to Op::parse_opcode()
Browse files Browse the repository at this point in the history
  • Loading branch information
ironcev committed Feb 24, 2025
1 parent fccc8a9 commit ff219b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sway-core/src/asm_lang/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,10 @@ impl Op {
let (r1, r2, r3, i0) = three_regs_imm_06(handler, args, immediate, whole_op_span)?;
VirtualOp::LDC(r1, r2, r3, i0)
}
"bldd" => {
let (r1, r2, r3, r4) = four_regs(handler, args, immediate, whole_op_span)?;
VirtualOp::BLDD(r1, r2, r3, r4)
}
"log" => {
let (r1, r2, r3, r4) = four_regs(handler, args, immediate, whole_op_span)?;
VirtualOp::LOG(r1, r2, r3, r4)
Expand Down

0 comments on commit ff219b8

Please sign in to comment.