mirror of
https://github.com/mikpe/pdp10-tools.git
synced 2026-04-25 19:51:44 +00:00
as: add some test cases under test/
This commit is contained in:
6
as/test/test1.s
Normal file
6
as/test/test1.s
Normal file
@@ -0,0 +1,6 @@
|
||||
.text
|
||||
.globl start
|
||||
start:
|
||||
movei 1,0
|
||||
jsys 94
|
||||
halt
|
||||
1
as/test/test2.c
Normal file
1
as/test/test2.c
Normal file
@@ -0,0 +1 @@
|
||||
int foo(void) { return 27; }
|
||||
10
as/test/test2.s
Normal file
10
as/test/test2.s
Normal file
@@ -0,0 +1,10 @@
|
||||
.file "z.c"
|
||||
.text
|
||||
.globl foo
|
||||
.type foo, @function
|
||||
foo:
|
||||
movei 1,33
|
||||
popj 017,
|
||||
.size foo, .-foo
|
||||
.ident "GCC: (GNU) 4.3.0.- for XKL-2 (XKL LLC, Kirkland, WA, USA) Built 2013-08-15 23:03 +0200 on porter by mikpe"
|
||||
.section .note.GNU-stack,"",@progbits
|
||||
Reference in New Issue
Block a user