summaryrefslogtreecommitdiff
path: root/sdcc-sdcc_z80_enable_incbin.patch
blob: d2918f18171aec0eb30c420c99341ba0e723f2be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/sdas/asz80/z80pst.c b/sdas/asz80/z80pst.c
index 66f481b..0e91b43 100644
--- a/sdas/asz80/z80pst.c
+++ b/sdas/asz80/z80pst.c
@@ -44,20 +44,21 @@ struct  mne     mne[] = {
     {   NULL,   "ABS",          S_ATYP,         0,      A_ABS   },
     {   NULL,   "NOPAG",        S_ATYP,         0,      A_NOPAG },
     {   NULL,   "PAG",          S_ATYP,         0,      A_PAG   },
 
 
     {   NULL,   ".page",        S_PAGE,         0,      0       },
     {   NULL,   ".title",       S_HEADER,       0,      O_TITLE },
     {   NULL,   ".sbttl",       S_HEADER,       0,      O_SBTTL },
     {   NULL,   ".module",      S_MODUL,        0,      0       },
     {   NULL,   ".include",     S_INCL,         0,      0       },
+    {   NULL,   ".incbin",      S_INCL,         0,      I_BNRY  },
     {   NULL,   ".area",        S_AREA,         0,      0       },
 
     {   NULL,   ".org",         S_ORG,          0,      0       },
     {   NULL,   ".radix",       S_RADIX,        0,      0       },
     {   NULL,   ".globl",       S_GLOBL,        0,      0       },
     {   NULL,   ".local",       S_LOCAL,        0,      0       },
     {   NULL,   ".if",          S_CONDITIONAL,  0,      O_IF    },
     {   NULL,   ".iff",         S_CONDITIONAL,  0,      O_IFF   },
     {   NULL,   ".ift",         S_CONDITIONAL,  0,      O_IFT   },
     {   NULL,   ".iftf",        S_CONDITIONAL,  0,      O_IFTF  },