test: nasm-t -- Add movd test

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2018-11-04 01:29:34 +03:00
parent 125e2e6b3f
commit 2786f85aed
3 changed files with 23 additions and 0 deletions

11
travis/test/movd.asm Normal file
View File

@ -0,0 +1,11 @@
[BITS 32]
movd mm0,eax
movd mm0,[eax]
movd [eax],mm0
movd eax,mm0
movd xmm0,eax
movd xmm0,[eax]
movd [eax],xmm0
movd eax,xmm0

BIN
travis/test/movd.bin.t Normal file

Binary file not shown.

12
travis/test/movd.json Normal file
View File

@ -0,0 +1,12 @@
[
{
"description": "Test movd instruction",
"id": "movd",
"format": "bin",
"source": "movd.asm",
"option": "-Ox",
"target": [
{ "output": "movd.bin" }
]
}
]