Added memory address patching
This commit is contained in:
parent
6f097c9eee
commit
23e8b67e88
9 changed files with 98 additions and 35 deletions
|
@ -5,6 +5,7 @@ type Mnemonic uint8
|
|||
const (
|
||||
NONE Mnemonic = iota
|
||||
MOV
|
||||
MOVDATA
|
||||
SYSCALL
|
||||
)
|
||||
|
||||
|
@ -13,6 +14,9 @@ func (m Mnemonic) String() string {
|
|||
case MOV:
|
||||
return "mov"
|
||||
|
||||
case MOVDATA:
|
||||
return "mov"
|
||||
|
||||
case SYSCALL:
|
||||
return "syscall"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue