mirror of
https://github.com/netwide-assembler/nasm
synced 2026-08-26 16:23:04 -04:00
test: nasm-t -- Add r13 test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
e6a3c72c79
commit
4683da7a93
3 changed files with 24 additions and 0 deletions
13
travis/test/r13.asm
Normal file
13
travis/test/r13.asm
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
bits 64
|
||||
mov rax,[rbx]
|
||||
mov rax,[rbx*4]
|
||||
mov rax,[rbx+rbx*2]
|
||||
mov rax,[r13+rbx*2]
|
||||
mov rax,[rbp]
|
||||
mov rax,[rbp*4]
|
||||
mov rax,[rbp+rbp*2]
|
||||
mov rax,[rbp+r13*2]
|
||||
mov rax,[r13]
|
||||
mov rax,[r13*4]
|
||||
mov rax,[r13+rbp*2]
|
||||
mov rax,[r13+r13*2]
|
||||
BIN
travis/test/r13.bin.t
Normal file
BIN
travis/test/r13.bin.t
Normal file
Binary file not shown.
11
travis/test/r13.json
Normal file
11
travis/test/r13.json
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[
|
||||
{
|
||||
"description": "Test r13 register",
|
||||
"id": "r13",
|
||||
"format": "bin",
|
||||
"source": "r13.asm",
|
||||
"target": [
|
||||
{ "output": "r13.bin" }
|
||||
]
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue