diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-17 17:15:51 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-17 17:15:51 +0200 |
commit | d78062b1643006c59e325d4821361e56d9bd3b71 (patch) | |
tree | 79b233e0ab801b7bb9d64be526157d27b7abe301 /asm/jo_r_lowbat.asm | |
parent | Using libespeak and libnotify (diff) | |
download | lowbat-bsd-d78062b1643006c59e325d4821361e56d9bd3b71.tar.gz lowbat-bsd-d78062b1643006c59e325d4821361e56d9bd3b71.tar.bz2 lowbat-bsd-d78062b1643006c59e325d4821361e56d9bd3b71.tar.xz lowbat-bsd-d78062b1643006c59e325d4821361e56d9bd3b71.tar.zst lowbat-bsd-d78062b1643006c59e325d4821361e56d9bd3b71.zip |
Starting the main program, bus error somehow
Diffstat (limited to '')
-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 |