labels.h

来自「开源的nasm编译器源码,研究编译器原理很有帮且」· C头文件 代码 · 共 23 行

H
23
字号
/* labels.h  header file for labels.c * * The Netwide Assembler is copyright (C) 1996 Simon Tatham and * Julian Hall. All rights reserved. The software is * redistributable under the licence given in the file "Licence" * distributed in the NASM archive. */extern char lprefix[PREFIX_MAX];extern char lpostfix[PREFIX_MAX];int lookup_label (char *label, long *segment, long *offset);int is_extern (char *label);void define_label (char *label, long segment, long offset, char *special,		   int is_norm, int isextrn, struct ofmt *ofmt, efunc error);void redefine_label (char *label, long segment, long offset, char *special,		   int is_norm, int isextrn, struct ofmt *ofmt, efunc error);void define_common (char *label, long segment, long size, char *special,		    struct ofmt *ofmt, efunc error);void declare_as_global (char *label, char *special, efunc error);int init_labels (void);void cleanup_labels (void);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?