blob: 67b412bf91dd228c3e09853e6067a17b9cebbd34 [file] [log] [blame]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
.section .data
msg:
.ascii "hello starnix\n"
.section .text
.globl _start
_start:
movq $1, %rax
movq $1, %rdi
lea msg(%rip), %rsi
movq $14, %rdx
syscall
movq $60, %rax
movq $0, %rdi
syscall