load: handle MOVABS special case

This commit is contained in:
Michael McLoughlin
2018-11-23 16:14:05 -06:00
parent 2f7c14f061
commit 86373c79ee
2 changed files with 9 additions and 1 deletions

View File

@@ -146,6 +146,14 @@ func (l Loader) include(f opcodesxml.Form) bool {
//
case "callq", "jmpl":
return false
// MOVABS doesn't seem to be supported either.
//
// Reference: https://github.com/golang/go/blob/1ac84999b93876bb06887e483ae45b27e03d7423/src/cmd/asm/internal/asm/testdata/amd64enc.s#L2354
//
// //TODO: MOVABSB 0x123456789abcdef1, AL // a0f1debc9a78563412
//
case "movabs":
return false
}
return true