Implemented more arm64 instructions
This commit is contained in:
parent
dc664dbf5a
commit
5a5061c5d7
23 changed files with 290 additions and 53 deletions
|
@ -2,7 +2,6 @@ package asm
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"math"
|
||||
"strconv"
|
||||
"strings"
|
||||
|
||||
|
@ -22,7 +21,7 @@ func (mem *Memory) Format(custom string) string {
|
|||
tmp.WriteString("[")
|
||||
tmp.WriteString(fmt.Sprint(mem.Base))
|
||||
|
||||
if mem.OffsetRegister != math.MaxUint8 {
|
||||
if mem.OffsetRegister >= 0 {
|
||||
tmp.WriteString("+")
|
||||
tmp.WriteString(fmt.Sprint(mem.OffsetRegister))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue