test: nasm-t -- Add andbyte test

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov 2018-11-03 17:51:45 +03:00
parent 2a34d0287e
commit 0060e40246
3 changed files with 30 additions and 0 deletions

12
travis/test/andbyte.asm Normal file

@ -0,0 +1,12 @@
bits 16
add sp, byte -0x10
add sp, -0x10
adc sp, byte -0x10
adc sp, -0x10
and sp, byte -0x10
and sp, -0x10
sbb sp, byte -0x10
sbb sp, -0x10
sub sp, byte -0x10
sub sp, -0x10

@ -0,0 +1 @@
ƒִנƒִנƒװנƒװנƒהנƒהנƒ<EFBFBD>נƒ<EFBFBD>נƒלנƒלנ

17
travis/test/andbyte.json Normal file

@ -0,0 +1,17 @@
[
{
"description": "Check byte operations (-Ox)",
"id": "andbyte",
"format": "bin",
"source": "andbyte.asm",
"option": "-Ox",
"target": [
{ "output": "andbyte.bin" }
]
},
{
"description": "Check byte operations",
"ref": "andbyte",
"update": false
}
]