diff options
| author | Andrew Chambers <[email protected]> | 2021-10-11 12:36:47 +1300 |
|---|---|---|
| committer | Andrew Chambers <[email protected]> | 2021-10-11 12:36:47 +1300 |
| commit | 0958ee6c9006195ba69f9a61e782b688861891e3 (patch) | |
| tree | 23f13c8a00624e99481812861356187e08ea828e /test | |
| parent | 01b5a69f2d7e7ec041064e88d0789ad6d6bc92eb (diff) | |
Make naming more consistent.
Diffstat (limited to 'test')
| -rw-r--r-- | test/execute/0001-hello.s | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/execute/0001-hello.s b/test/execute/0001-hello.s new file mode 100644 index 0000000..d4f5b11 --- /dev/null +++ b/test/execute/0001-hello.s @@ -0,0 +1,17 @@ +.data +.balign 1 +.Lstring.2: + .ascii "hello\000" + +.text +.globl main +main: + pushq %rbp + movq %rsp, %rbp + leaq .Lstring.2(%rip), %rdi + callq puts + xorl %eax, %eax + leave + ret + +.section .note.GNU-stack,"",@progbits |
