diff options
| author | Andreas Kapp Lindquist <alind24@student.sdu.dk> | 2025-09-30 10:23:01 +0200 |
|---|---|---|
| committer | mithe24 <mithe24@student.sdu.dk> | 2025-10-29 13:49:57 +0100 |
| commit | d9d3fe076a4c316cd3e2e2a1082688bcc876c6b5 (patch) | |
| tree | 0b6ed3ac9a3f47348e885add46c844247e0374d4 /src/test.s | |
| parent | 4f87bb4d0571026f8881dc6559f7b3c1a2ca5dec (diff) | |
| download | sorter-d9d3fe076a4c316cd3e2e2a1082688bcc876c6b5.tar.gz sorter-d9d3fe076a4c316cd3e2e2a1082688bcc876c6b5.zip | |
refactor(run.sh,test.s,utils.s): Removed test files
Diffstat (limited to 'src/test.s')
| -rw-r--r-- | src/test.s | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/src/test.s b/src/test.s deleted file mode 100644 index 30f0e49..0000000 --- a/src/test.s +++ /dev/null @@ -1,52 +0,0 @@ -.section .data -elem0: - .8byte 8 -elem1: - .8byte 9 -elem2: - .8byte 2 -elem3: - .8byte 13 -elem4: - .8byte 203 -elem5: - .8byte 1 - -array: - .space 48 - -.section .text -.globl _start -_start: - - movq $elem0, array - movq $elem1, array+8 - movq $elem2, array+16 - movq $elem3, array+24 - movq $elem4, array+32 - movq $elem5, array+40 - - movq $array, %rdi - movq $6, %rsi - movq $0, %rdx - movq $insertion_sort, %rcx - call sorter - - movq $0, %r15 - -loop: - cmp $6, %r15 - je end - - movq array(,%r15,8), %rbx - movq (%rbx), %rdi - call printNum - - addq $1, %r15 - jmp loop - -end: - movq $60, %rax - movq $0, %rdx - syscall - |