From 7bcc68e9ff846f3199fc5d8b0eb7a502927eaea1 Mon Sep 17 00:00:00 2001 From: Kwarde Date: Mon, 4 Aug 2025 12:45:29 +0200 Subject: [PATCH] Did something wrong in vim, remove odd file --- ' | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 ' diff --git a/' b/' deleted file mode 100644 index ab0c019..0000000 --- a/' +++ /dev/null @@ -1,30 +0,0 @@ -%include "src/constants/sizes.asm" - -extern exit -extern main - -section .text - global _start - global stack_is_top - -_start: - mov rdi, [rsp] - lea rsi, [rsp + SIZE_QWORD] - push rsp ;Can maybe used as a method to find out if we're at top of the stack - push -1 - - call main - - mov rdi, rax - call exit - -stack_is_top: - xor rax, rax - mov rdi, rsp - cmp rdi, [rsp] - je .yes - jmp .q - .yes: - inc al - .q: - ret