mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-04-24 19:00:23 +08:00
test: nasm-t -- Add andbyte test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
2a34d0287e
commit
0060e40246
travis/test
12
travis/test/andbyte.asm
Normal file
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
|
1
travis/test/andbyte.bin.t
Normal file
1
travis/test/andbyte.bin.t
Normal file
@ -0,0 +1 @@
|
||||
ƒִנƒִנƒװנƒװנƒהנƒהנƒ<EFBFBD>נƒ<EFBFBD>נƒלנƒלנ
|
17
travis/test/andbyte.json
Normal file
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
|
||||
}
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user