summary refs log tree commit diff
diff options
context:
space:
mode:
authorManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-10-15 13:06:39 +0100
committerManuel Palenzuela <manuelpalenzuelamerino@gmail.com>2019-10-15 13:06:39 +0100
commitc54f43fd986e7c89958de3b95b305eac43e4639c (patch)
tree6a204421e314918eac71257b61e61e7fae219c71
parentInitial commit (diff)
downloadkomodo-c54f43fd986e7c89958de3b95b305eac43e4639c.tar.gz
komodo-c54f43fd986e7c89958de3b95b305eac43e4639c.tar.bz2
komodo-c54f43fd986e7c89958de3b95b305eac43e4639c.zip
Fixed kmd_compile
-rw-r--r--hello.kmd14
-rwxr-xr-xkmd_compile2
2 files changed, 1 insertions, 15 deletions
diff --git a/hello.kmd b/hello.kmd
deleted file mode 100644
index e908993..0000000
--- a/hello.kmd
+++ /dev/null
@@ -1,14 +0,0 @@
-KMD
-00000000: EA000001    ;     B main
-00000004: 48 45 4C 4C ; hello DEFB "HELLO\n",0
-00000008: 4F 0A 00    ; 
-0000000B:             ; 
-0000000C:             ;     ALIGN
-0000000C: E24F0010    ; main ADR R0, hello
-00000010: EF000003    ;     SWI 3
-00000014: EF000002    ;     SWI 2
-00000018:             ; 
-
-Symbol Table: Labels
-: hello                             00000004  Local -- ARM
-: main                              0000000C  Local -- ARM
diff --git a/kmd_compile b/kmd_compile
index f2c0ee5..4e4a3c0 100755
--- a/kmd_compile
+++ b/kmd_compile
@@ -1,3 +1,3 @@
 #! /bin/sh
 FNAME=$(echo $1 | sed s/.s//g)
-aasm -lk $FNAME.kmd $1
+aasm -lk "$FNAME.kmd" "$1"