From 136e3443793df6c4738186920dfb2d87ac52a96b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 10 Feb 2016 16:47:02 +0100 Subject: initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- x86_64/false.s | 7 +++++++ x86_64/true.s | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 x86_64/false.s create mode 100644 x86_64/true.s (limited to 'x86_64') diff --git a/x86_64/false.s b/x86_64/false.s new file mode 100644 index 0000000..daa30a5 --- /dev/null +++ b/x86_64/false.s @@ -0,0 +1,7 @@ +.text +.global _start +_start: + mov $60,%rax /* 60 is exit(2) */ + mov $1,%rdi /* return code 1 */ + syscall + diff --git a/x86_64/true.s b/x86_64/true.s new file mode 100644 index 0000000..571d858 --- /dev/null +++ b/x86_64/true.s @@ -0,0 +1,7 @@ +.text +.global _start +_start: + mov $60,%rax /* 60 is exit(2) */ + xor %rdi,%rdi /* return code 0 */ + syscall + -- cgit v1.2.3-70-g09d2