"strings"
"text/tabwriter"
- "cmd/internal/rsc.io/arm/armasm"
- "cmd/internal/rsc.io/x86/x86asm"
+ "golang.org/x/arch/arm/armasm"
+ "golang.org/x/arch/x86/x86asm"
)
// Disasm is a disassembler for a given File.
size = 1
text = "?"
} else {
- text = x86asm.Plan9Syntax(inst, pc, lookup)
+ text = x86asm.GoSyntax(inst, pc, lookup)
}
return text, size
}
size = 4
text = "?"
} else {
- text = armasm.Plan9Syntax(inst, pc, lookup, textReader{code, pc})
+ text = armasm.GoSyntax(inst, pc, lookup, textReader{code, pc})
}
return text, size
}