📄 macros.c
字号:
/* 26 */ 214,'_','_','N','A','S','M','_','C','D','e','c','l','_','_',' ','1',0,
/* 44 */ 201,0,
/* 46 */ 0
};
#endif
#if defined(OF_AS86)
const unsigned char as86_stdmac[] = {
/* From ./output/outas86.mac */
/* 0 */ 195,'_','_','S','E','C','T','_','_',' ','[','s','e','c','t','i','o','n',' ','.','t','e','x','t',']',0,
/* 26 */ 214,'_','_','N','A','S','M','_','C','D','e','c','l','_','_',' ','1',0,
/* 44 */ 201,0,
/* 46 */ 0
};
#endif
#if defined(OF_BIN)
const unsigned char bin_stdmac[] = {
/* From ./output/outbin.mac */
/* 0 */ 195,'_','_','S','E','C','T','_','_',' ','[','s','e','c','t','i','o','n',' ','.','t','e','x','t',']',0,
/* 26 */ 209,'o','r','g',' ','1','+','.','n','o','l','i','s','t',0,
/* 41 */ '[','o','r','g',' ','%','1',']',0,
/* 50 */ 201,0,
/* 52 */ 214,'_','_','N','A','S','M','_','C','D','e','c','l','_','_',' ','1',0,
/* 70 */ 201,0,
/* 72 */ 0
};
#endif
#if defined(OF_COFF) || defined(OF_WIN32) || defined(OF_WIN64)
const unsigned char coff_stdmac[] = {
/* From ./output/outcoff.mac */
/* 0 */ 195,'_','_','S','E','C','T','_','_',' ','[','s','e','c','t','i','o','n',' ','.','t','e','x','t',']',0,
/* 26 */ 214,'_','_','N','A','S','M','_','C','D','e','c','l','_','_',' ','1',0,
/* 44 */ 201,0,
/* 46 */ 209,'e','x','p','o','r','t',' ','1','+','.','n','o','l','i','s','t',0,
/* 64 */ '[','e','x','p','o','r','t',' ','%','1',']',0,
/* 76 */ 201,0,
/* 78 */ 209,'s','a','f','e','s','e','h',' ','1','.','n','o','l','i','s','t',0,
/* 96 */ '[','s','a','f','e','s','e','h',' ','%','1',']',0,
/* 109 */ 201,0,
/* 111 */ 0
};
#endif
#if defined(OF_ELF) || defined(OF_ELF32) || defined(OF_ELF64)
const unsigned char elf_stdmac[] = {
/* From ./output/outelf.mac */
/* 0 */ 195,'_','_','S','E','C','T','_','_',' ','[','s','e','c','t','i','o','n',' ','.','t','e','x','t',']',0,
/* 26 */ 214,'_','_','N','A','S','M','_','C','D','e','c','l','_','_',' ','1',0,
/* 44 */ 195,'$','_','%','1',' ','$','%','1',0,
/* 54 */ 201,0,
/* 56 */ 214,'o','s','a','b','i',' ','1','+','.','n','o','l','i','s','t',0,
/* 73 */ '[','o','s','a','b','i',' ','%','1',']',0,
/* 84 */ 201,0,
/* 86 */ 0
};
#endif
#if defined(OF_MACHO)
const unsigned char macho_stdmac[] = {
/* From ./output/outmacho.mac */
/* 0 */ 195,'_','_','S','E','C','T','_','_',' ','[','s','e','c','t','i','o','n',' ','.','t','e','x','t',']',0,
/* 26 */ 214,'_','_','N','A','S','M','_','C','D','e','c','l','_','_',' ','1',0,
/* 44 */ 201,0,
/* 46 */ 0
};
#endif
#if defined(OF_OBJ)
const unsigned char obj_stdmac[] = {
/* From ./output/outobj.mac */
/* 0 */ 195,'_','_','S','E','C','T','_','_',' ','[','s','e','c','t','i','o','n',' ','.','t','e','x','t',']',0,
/* 26 */ 209,'g','r','o','u','p',' ','1','+','.','n','o','l','i','s','t',0,
/* 43 */ '[','g','r','o','u','p',' ','%','1',']',0,
/* 54 */ 201,0,
/* 56 */ 209,'u','p','p','e','r','c','a','s','e',' ','0','+','.','n','o','l','i','s','t',0,
/* 77 */ '[','u','p','p','e','r','c','a','s','e',' ','%','1',']',0,
/* 92 */ 201,0,
/* 94 */ 209,'e','x','p','o','r','t',' ','1','+','.','n','o','l','i','s','t',0,
/* 112 */ '[','e','x','p','o','r','t',' ','%','1',']',0,
/* 124 */ 201,0,
/* 126 */ 209,'i','m','p','o','r','t',' ','1','+','.','n','o','l','i','s','t',0,
/* 144 */ '[','i','m','p','o','r','t',' ','%','1',']',0,
/* 156 */ 201,0,
/* 158 */ 214,'_','_','N','A','S','M','_','C','D','e','c','l','_','_',' ','1',0,
/* 176 */ 201,0,
/* 178 */ 0
};
#endif
#if defined(OF_RDF)
const unsigned char rdf_stdmac[] = {
/* From ./output/outrdf.mac */
/* 0 */ 195,'_','_','S','E','C','T','_','_',' ','[','s','e','c','t','i','o','n',' ','.','t','e','x','t',']',0,
/* 26 */ 209,'l','i','b','r','a','r','y',' ','1','+','.','n','o','l','i','s','t',0,
/* 45 */ '[','l','i','b','r','a','r','y',' ','%','1',']',0,
/* 58 */ 201,0,
/* 60 */ 214,'_','_','N','A','S','M','_','C','D','e','c','l','_','_',' ','1',0,
/* 78 */ 201,0,
/* 80 */ 0
};
#endif
#if defined(OF_RDF2)
const unsigned char rdf2_stdmac[] = {
/* From ./output/outrdf2.mac */
/* 0 */ 195,'_','_','S','E','C','T','_','_',' ','[','s','e','c','t','i','o','n',' ','.','t','e','x','t',']',0,
/* 26 */ 209,'l','i','b','r','a','r','y',' ','1','+','.','n','o','l','i','s','t',0,
/* 45 */ '[','l','i','b','r','a','r','y',' ','%','1',']',0,
/* 58 */ 201,0,
/* 60 */ 209,'m','o','d','u','l','e',' ','1','+','.','n','o','l','i','s','t',0,
/* 78 */ '[','m','o','d','u','l','e',' ','%','1',']',0,
/* 90 */ 201,0,
/* 92 */ 214,'_','_','N','A','S','M','_','C','D','e','c','l','_','_',' ','1',0,
/* 110 */ 201,0,
/* 112 */ 0
};
#endif
const unsigned char * const nasm_stdmac_after_tasm = &nasm_stdmac[37];
const unsigned char *nasm_stdmac_find_package(const char *package)
{
static const struct {
const char *package;
const unsigned char *macros;
} packages[2] = {
{ "altreg", nasm_stdmac_altreg },
{ "smartalign", nasm_stdmac_smartalign },
};
#define UNUSED 16383
static const int16_t hash1[2] = {
0,
-1,
};
static const int16_t hash2[2] = {
1,
UNUSED,
};
uint32_t k1, k2;
uint64_t crc;
uint16_t ix;
crc = crc64i(UINT64_C(0x076259c3e291c26c), package);
k1 = (uint32_t)crc;
k2 = (uint32_t)(crc >> 32);
ix = hash1[k1 & 0x1] + hash2[k2 & 0x1];
if (ix >= 2)
return NULL;
if (nasm_stricmp(packages[ix].package, package))
return NULL;
return packages[ix].macros;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -