Skip to content

Commit

Permalink
remove unnecessary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mmk-1 committed Oct 9, 2023
1 parent 8192a63 commit dda2257
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions pkg/assembler/assembler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,6 @@ func TestRetToInstrList(t *testing.T) {

func TestJmpAbsToInstrList(t *testing.T) {
instrList := parseSingleInstructionToInstrList("jmp abs 123, ap++;")
// Raw code below gives parsing error! (code taken from whitepaper)
// instrList := parseSingleInstructionToInstrList("jmp rel [ap + 1] + [fp - 7];")
// expected := Instruction{
// OffDest: -1,
// OffOp0: 1,
// OffOp1: -7,
// DstRegister: 1,
// Op0Register: 0,
// Op1Source: 2,
// Res: 1,
// PcUpdate: 2,
// ApUpdate: 0,
// Opcode: 0,
// }
expected := Instruction{
OffDest: -1,
OffOp0: -1,
Expand Down

0 comments on commit dda2257

Please sign in to comment.