diff options
Diffstat (limited to 'test/movimm.asm')
-rw-r--r-- | test/movimm.asm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/movimm.asm b/test/movimm.asm index bda7a60..b5a7a27 100644 --- a/test/movimm.asm +++ b/test/movimm.asm @@ -11,3 +11,16 @@ ; mov qword [rsi],qword 1234567890abcdefh ; Error ; mov [rsi],qword 1234567890abcdefh ; Error mov [rsi],dword 1234567890abcdefh + + ; The optimizer probably should compact these forms, doesn't yet? + mov rax,12345678h + mov eax,12345678h + mov rax,dword 12345678h + mov rax,qword 12345678h + mov dword [rsi],12345678h + mov qword [rsi],12345678h + mov dword [rsi],dword 12345678h + mov qword [rsi],dword 12345678h +; mov qword [rsi],qword 12345678h ; Error +; mov [rsi],qword 12345678h ; Error + mov [rsi],dword 12345678h |