mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
test: nasm-t -- Add pushseg test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
873c090f89
commit
3fbd075ffa
3 changed files with 29 additions and 0 deletions
17
travis/test/pushseg.asm
Normal file
17
travis/test/pushseg.asm
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
;Testname=test; Arguments=-fbin -opushseg.bin; Files=stdout stderr pushseg.bin
|
||||
|
||||
bits 16
|
||||
|
||||
push cs
|
||||
push ds
|
||||
push es
|
||||
push ss
|
||||
push fs
|
||||
push gs
|
||||
|
||||
pop gs
|
||||
pop fs
|
||||
pop ss
|
||||
pop es
|
||||
pop ds
|
||||
pop cs ; 8086 only, does not disassemble
|
||||
1
travis/test/pushseg.bin.t
Normal file
1
travis/test/pushseg.bin.t
Normal file
|
|
@ -0,0 +1 @@
|
|||
<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
11
travis/test/pushseg.json
Normal file
11
travis/test/pushseg.json
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[
|
||||
{
|
||||
"description": "Test push segment",
|
||||
"id": "pushseg",
|
||||
"format": "bin",
|
||||
"source": "pushseg.asm",
|
||||
"target": [
|
||||
{ "output": "pushseg.bin" }
|
||||
]
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue