test: nasm-t -- Add test67
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
e5ebeac478
commit
41985ad93e
3 changed files with 52 additions and 0 deletions
35
travis/test/test67.asm
Normal file
35
travis/test/test67.asm
Normal file
|
@ -0,0 +1,35 @@
|
|||
bits 16
|
||||
|
||||
mov ax,[bx]
|
||||
mov ax,[foo]
|
||||
mov ax,[word foo]
|
||||
mov ax,[dword foo]
|
||||
mov ax,[ebx]
|
||||
rep movsb
|
||||
a16 rep movsb
|
||||
a32 rep movsb
|
||||
a32 mov ax,bx
|
||||
|
||||
bits 32
|
||||
|
||||
mov ax,[bx]
|
||||
mov ax,[foo]
|
||||
mov ax,[word foo]
|
||||
mov ax,[dword foo]
|
||||
mov ax,[ebx]
|
||||
rep movsb
|
||||
a16 rep movsb
|
||||
a32 rep movsb
|
||||
|
||||
bits 64
|
||||
|
||||
mov ax,[rbx]
|
||||
mov ax,[foo]
|
||||
mov ax,[qword foo]
|
||||
mov ax,[dword foo]
|
||||
mov ax,[ebx]
|
||||
rep movsb
|
||||
a32 rep movsb
|
||||
a64 rep movsb
|
||||
|
||||
foo:
|
BIN
travis/test/test67.bin.t
Normal file
BIN
travis/test/test67.bin.t
Normal file
Binary file not shown.
17
travis/test/test67.json
Normal file
17
travis/test/test67.json
Normal file
|
@ -0,0 +1,17 @@
|
|||
[
|
||||
{
|
||||
"description": "Test for 0x67 prefixes (-Ox)",
|
||||
"id": "test67",
|
||||
"format": "bin",
|
||||
"source": "test67.asm",
|
||||
"option": "-Ox",
|
||||
"target": [
|
||||
{ "output": "test67.bin" }
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "Test for 0x67 prefixes (-O0)",
|
||||
"ref": "test67",
|
||||
"option": "-O0"
|
||||
}
|
||||
]
|
Loading…
Reference in a new issue