Before left recursion fix

This commit is contained in:
2026-01-29 16:59:26 -05:00
parent 9583f9e281
commit 39d4a12d2c
4 changed files with 30 additions and 0 deletions

BIN
a.out Executable file

Binary file not shown.

21
bitwise.s Normal file
View File

@@ -0,0 +1,21 @@
.file "bitwise.c"
.text
.globl main
.type main, @function
main:
.LFB0:
.cfi_startproc
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset 6, -16
movq %rsp, %rbp
.cfi_def_cfa_register 6
movl $-13, %eax
popq %rbp
.cfi_def_cfa 7, 8
ret
.cfi_endproc
.LFE0:
.size main, .-main
.ident "GCC: (GNU) 15.2.1 20260103"
.section .note.GNU-stack,"",@progbits

BIN
my.out Executable file

Binary file not shown.

9
test Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
gcc c/tests/stage_2/valid/$1.c
gcc bin/$1.s -o my.out
echo "GCC:"
./a.out
echo $?
echo "RXCC"
./my.out
echo $?