diff options
Diffstat (limited to 'asm/jo_r_lowbat.asm')
-rw-r--r-- | asm/jo_r_lowbat.asm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/asm/jo_r_lowbat.asm b/asm/jo_r_lowbat.asm new file mode 100644 index 0000000..42863b4 --- /dev/null +++ b/asm/jo_r_lowbat.asm @@ -0,0 +1,27 @@ +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; ;; +;; File : jo_r_lowbat.asm /_________/ ;; +;; Author : Joe | ;; +;; Date : 04/2020 | ;; +;; Info : The main program | ;; +;; / | ;; +;; \ / ;; +;; \_____/ ;; +;; ;; +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; + +section .text + extern sleep + extern jo_n_speak + global jo_r_lowbat + +jo_r_lowbat: + mov rdi, 0x2 + call sleep + mov rdi, msg + call jo_n_speak + xor rax, rax + retq + +section .data + msg: db "Welcome back, partner", 0x0 |