Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1126 | savelij | 1 | #ifndef _CODEPSEUDO_H |
2 | #define _CODEPSEUDO_H |
||
3 | /* codepseudo.h */ |
||
4 | /*****************************************************************************/ |
||
5 | /* SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only */ |
||
6 | /* */ |
||
7 | /* AS-Portierung */ |
||
8 | /* */ |
||
9 | /* Haeufiger benutzte Pseudo-Befehle */ |
||
10 | /* */ |
||
11 | /*****************************************************************************/ |
||
12 | |||
13 | #include "addrspace.h" |
||
14 | |||
15 | struct _ASSUMERec; |
||
16 | |||
17 | extern int FindInst(void *Field, int Size, int Count); |
||
18 | |||
19 | extern Boolean IsIndirectGen(const char *Asc, const char *pBeginEnd); |
||
20 | extern Boolean IsIndirect(const char *Asc); |
||
21 | |||
22 | typedef int (*tDispBaseSplitQualifier)(const char *pArg, int StartPos, int SplitPos); |
||
23 | extern int FindDispBaseSplitWithQualifier(const char *pArg, int *pArgLen, tDispBaseSplitQualifier Qualifier, const char *pBracks); |
||
24 | #define FindDispBaseSplit(pArg, pArgLen) FindDispBaseSplitWithQualifier(pArg, pArgLen, NULL, "()") |
||
25 | |||
26 | extern void CodeEquate(as_addrspace_t DestSeg, LargeInt Min, LargeInt Max); |
||
27 | |||
28 | extern Boolean QualifyQuote_SingleQuoteConstant(const char *pStart, const char *pQuotePos); |
||
29 | |||
30 | extern int string_2_dasm_code(const struct as_nonz_dynstr *p_str, int bytes_per_dword, Boolean big_endian); |
||
31 | extern int string_2_wasm_code(const struct as_nonz_dynstr *p_str, int bytes_per_dword, Boolean big_endian); |
||
32 | |||
33 | #endif /* _CODEPSEUDO_H */ |