test: nasm-t -- Add nop test
This commit is contained in:
parent
77bc772866
commit
5bf4d6d2b1
3 changed files with 27 additions and 0 deletions
14
travis/test/nop.asm
Normal file
14
travis/test/nop.asm
Normal file
|
@ -0,0 +1,14 @@
|
|||
bits 64
|
||||
|
||||
nop
|
||||
o64 nop
|
||||
pause
|
||||
o64 pause
|
||||
|
||||
xchg ax,ax
|
||||
xchg eax,eax
|
||||
xchg rax,rax
|
||||
|
||||
rep xchg ax,ax
|
||||
rep xchg eax,eax
|
||||
rep xchg rax,rax
|
1
travis/test/nop.bin.t
Normal file
1
travis/test/nop.bin.t
Normal file
|
@ -0,0 +1 @@
|
|||
<EFBFBD>H<EFBFBD><EFBFBD><EFBFBD><EFBFBD>H<EFBFBD>f<EFBFBD><EFBFBD><EFBFBD>H<EFBFBD><EFBFBD>f<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>H<EFBFBD>
|
12
travis/test/nop.json
Normal file
12
travis/test/nop.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
[
|
||||
{
|
||||
"description": "Test nop instruction",
|
||||
"id": "nop",
|
||||
"format": "bin",
|
||||
"source": "nop.asm",
|
||||
"option": "-Ox",
|
||||
"target": [
|
||||
{ "output": "nop.bin" }
|
||||
]
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue