diff --git a/.gitignore b/.gitignore index 561c1ac..9b9e55a 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,5 @@ DerivedData/ .netrc run bin/ +*.out +*.s diff --git a/a.out b/a.out deleted file mode 100755 index 6e3808f..0000000 Binary files a/a.out and /dev/null differ diff --git a/gcc.out b/gcc.out deleted file mode 100755 index dc8acb7..0000000 Binary files a/gcc.out and /dev/null differ diff --git a/hard.c b/hard.c deleted file mode 100644 index 90f9805..0000000 --- a/hard.c +++ /dev/null @@ -1,3 +0,0 @@ -int main() { - return !(2 * 3) + !2 * 3 + (4 + 5) * ~6 * 7 * (8 + -(!~9 * 10)) - -11 * ~12 + !~-13; -} diff --git a/hard.s b/hard.s deleted file mode 100644 index 7bdf703..0000000 --- a/hard.s +++ /dev/null @@ -1,24 +0,0 @@ - .globl main -main: - cmpl $0, %eax - movl $0, %eax - sete %al - movl $2, %eax - cmpl $0, %eax - movl $0, %eax - sete %al - movl $3, %eax - movl $6, %eax - not %eax - movl $7, %eax - movl $11, %eax - neg %eax - movl $12, %eax - not %eax - movl $13, %eax - neg %eax - not %eax - cmpl $0, %eax - movl $0, %eax - sete %al - ret diff --git a/my.out b/my.out deleted file mode 100755 index 888207b..0000000 Binary files a/my.out and /dev/null differ diff --git a/rxcc.out b/rxcc.out deleted file mode 100755 index 3d3f4f2..0000000 Binary files a/rxcc.out and /dev/null differ diff --git a/test.s b/test.s deleted file mode 100644 index 23386b4..0000000 --- a/test.s +++ /dev/null @@ -1,111 +0,0 @@ - .globl main -main: - movl $4, %eax - push %eax - movl $4, %eax - neg %eax - pop %ecx - addl %ecx, %eax - cmpl $0, %eax - movl $0, %eax - sete %al - push %eax - movl $6, %eax - push %eax - movl $2, %eax - push %eax - movl $2, %eax - pop %ecx - addl %ecx, %eax - movl %eax, %ecx - pop %eax - cdq - idivl %ecx - push %eax - movl $4, %eax - neg %eax - pop %ecx - imul %ecx, %eax - push %eax - movl $4, %eax - not %eax - pop %ecx - imul %ecx, %eax - push %eax - movl $9, %eax - movl %eax, %ecx - pop %eax - cdq - idivl %ecx - pop %ecx - addl %ecx, %eax - push %eax - movl $4, %eax - push %eax - movl $5, %eax - push %eax - movl $32, %eax - push %eax - movl $2, %eax - movl %eax, %ecx - pop %eax - cdq - idivl %ecx - pop %ecx - imul %ecx, %eax - push %eax - movl $1, %eax - not %eax - pop %ecx - addl %ecx, %eax - movl %eax, %ecx - pop %eax - cdq - idivl %ecx - push %eax - movl $400, %eax - push %eax - movl $90, %eax - movl %eax, %ecx - pop %eax - cdq - idivl %ecx - push %eax - movl $1, %eax - pop %ecx - addl %ecx, %eax - pop %ecx - subl %eax, %ecx - movl %ecx, %eax - push %eax - movl $5, %eax - push %eax - movl $4, %eax - movl %eax, %ecx - pop %eax - cdq - idivl %ecx - push %eax - movl $2, %eax - push %eax - movl $3, %eax - pop %ecx - addl %ecx, %eax - pop %ecx - imul %ecx, %eax - push %eax - movl $9, %eax - neg %eax - movl %eax, %ecx - pop %eax - cdq - idivl %ecx - not %eax - neg %eax - pop %ecx - subl %eax, %ecx - movl %ecx, %eax - neg %eax - pop %ecx - addl %ecx, %eax - ret diff --git a/test2.c b/test2.c deleted file mode 100644 index 4296359..0000000 --- a/test2.c +++ /dev/null @@ -1,4 +0,0 @@ -int main() { - return -(2 * 3) * 5 * (2 * 5) * (3 * -4 * -(-2 * 5) * 4) * -7 * 7; -} -