blob: a1da30bbb24982e2216aee8fb4eee5cc5524ac7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
/****************************************************************************************/
/* */
/* File : r_lowbat.asm /_________/ */
/* Author : Joe | */
/* Date : 04/2020 | */
/* Info : The main program | */
/* / | */
/* \ / */
/* \_____/ */
/* */
/****************************************************************************************/
.text
.extern c_args
.extern r_loop
.globl main
main:
callq c_args
movq %rax, %rdi
callq r_loop /* jo_r_loop(speak: 0-1, *argv[]) */
xorq %rax, %rax
xorq %rdi, %rdi
mov $0x1, %rax
syscall
|