pinosaur
/
sped.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
deleting line
[sped.git]
/
sped.asm
diff --git
a/sped.asm
b/sped.asm
index
a14dbd4
..
544ec3c
100644
(file)
--- a/
sped.asm
+++ b/
sped.asm
@@
-1,21
+1,13
@@
; sped - the stupidly pointless editor
; sped - the stupidly pointless editor
-; written by pinosaur
-%include "fileutils.S"
-%include "repl.S"
+%include "macros.S"
extern printf
extern printf
-global main
+extern readFile
+extern repl
-; macros
-%macro write_str 2
- mov eax, 4
- mov ebx, 1
- mov ecx, %1
- mov edx, %2
- int 0x80
-%endmacro
+global main
section .data
banner_str db `SPED - the stupidly pointless editor\n`, 0x00
section .data
banner_str db `SPED - the stupidly pointless editor\n`, 0x00