add assembly versions of true and false
This commit is contained in:
parent
4583d4e330
commit
799e96e267
13
src/asm/false.asm
Normal file
13
src/asm/false.asm
Normal 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
13
src/asm/true.asm
Normal 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
|
||||
|
Reference in New Issue
Block a user