]> git.sur5r.net Git - cc65/blobdiff - src/ca65/instr.h
More lineinfo usage.
[cc65] / src / ca65 / instr.h
index b85b8cd3062431bab37b6796d7f50d0c2f741410..7b36cfffbab6e5c87ff698fba87adaa71c683a8d 100644 (file)
@@ -1,15 +1,15 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                                 instr.h                                  */
+/*                                 instr.h                                  */
 /*                                                                           */
 /*            Instruction encoding for the ca65 macroassembler              */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 1998-2004 Ullrich von Bassewitz                                       */
-/*               Römerstrasse 52                                             */
-/*               D-70794 Filderstadt                                         */
-/* EMail:        uz@cc65.org                                                 */
+/* (C) 1998-2008, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
+/*                D-70794 Filderstadt                                        */
+/* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
@@ -40,6 +40,7 @@
 
 /* common */
 #include "cpu.h"
+#include "strbuf.h"
 
 
 
@@ -108,7 +109,7 @@ struct InsDesc {
     void                       (*Emit) (const InsDesc*);/* Handler function */
 };
 
-/* An instruction table */        
+/* An instruction table */
 typedef struct InsTable InsTable;
 struct InsTable {
     unsigned                   Count;                  /* Number of intstructions */
@@ -152,7 +153,7 @@ void SetCPU (cpu_t NewCPU);
 cpu_t GetCPU (void);
 /* Return the current CPU */
 
-int FindInstruction (const char* Ident);
+int FindInstruction (const StrBuf* Ident);
 /* Check if Ident is a valid mnemonic. If so, return the index in the
  * instruction table. If not, return -1.
  */
@@ -169,3 +170,4 @@ void HandleInstruction (unsigned Index);
 
 
 
+