Archived
2
0

add assembly versions of true and false

This commit is contained in:
silt! 2022-12-05 00:34:11 -05:00 committed by emma
parent 4583d4e330
commit 799e96e267
2 changed files with 26 additions and 0 deletions

13
src/asm/false.asm Normal file
View File

@ -0,0 +1,13 @@
; Copyright (c) 2022 silt <silt@tebibyte.media>
; SPDX-License-Identifier: AGPL-3.0-or-later
section .text
global _start
_start:
mov eax,1
mov ebx,1 ; Exit code
int 0x80
section .data

13
src/asm/true.asm Normal file
View File

@ -0,0 +1,13 @@
; Copyright (c) 2022 silt <silt@tebibyte.media>
; SPDX-License-Identifier: AGPL-3.0-or-later
section .text
global _start
_start:
mov eax,1
mov ebx,0 ; Exit code
int 0x80
section .data