code6809: small fixes
authorAlan Cox <alan@linux.intel.com>
Wed, 29 Jun 2016 17:16:25 +0000 (18:16 +0100)
committerAlan Cox <alan@linux.intel.com>
Wed, 29 Jun 2016 17:16:25 +0000 (18:16 +0100)
Applications/SmallC/code6809.c

index 213e0f6..f7ef604 100644 (file)
@@ -17,7 +17,7 @@
  * print all assembler info before any code is generated
  */
 void header (void) {
-    output_string ("; Small C Z80\n;\tCoder (ac0)\n;");
+    output_string ("; Small C 6809\n;\tCoder (ac0)\n;");
     frontend_version();
     newline ();
 }
@@ -294,7 +294,7 @@ void gen_ret(void) {
  * perform subroutine call to value on top of stack
  */
 void callstk(void) {
-    output_line ("jsr (x)");
+    output_line ("jsr ,x");
 }
 
 /**