diff options
| author | Camille Mougey <commial@gmail.com> | 2016-04-25 15:25:36 +0200 |
|---|---|---|
| committer | Camille Mougey <commial@gmail.com> | 2016-04-25 15:25:36 +0200 |
| commit | 1d2b008cfd6f8ea92c5af3e18081d8c56e43820e (patch) | |
| tree | 97abff982dbc36116a0adec12eb22b78d78b71b5 /example | |
| parent | b127dbdfe5832a12f7f328dc560344a9900e8918 (diff) | |
| parent | 09b8308dddcd52aec8e899674d124122ce8555f5 (diff) | |
| download | miasm-1d2b008cfd6f8ea92c5af3e18081d8c56e43820e.tar.gz miasm-1d2b008cfd6f8ea92c5af3e18081d8c56e43820e.zip | |
Merge pull request #356 from serpilliere/x86_fix_64_modrm
X86/arch: fix call @imm
Diffstat (limited to '')
| -rw-r--r-- | example/samples/x86_64.S | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/example/samples/x86_64.S b/example/samples/x86_64.S index d090a01b..c37d30fa 100644 --- a/example/samples/x86_64.S +++ b/example/samples/x86_64.S @@ -1,10 +1,9 @@ main: MOV R9, 0x0 - MOV R8, title - MOV RDX, msg + LEA R8, QWORD PTR [title] + LEA RDX, QWORD PTR [msg] MOV RCX, 0x0 - MOV RAX, QWORD PTR [ MessageBoxA ] - CALL RAX + CALL QWORD PTR [ MessageBoxA ] RET title: |