dglobal.java
来自「用Java实现的编译器。把源代码编译成SPARC汇编程序」· Java 代码 · 共 35 行
JAVA
35 行
// $Id: dGlobl.java,v 1.3 2000/10/21 23:18:11 mdeeds Exp $package java6035.tools.ASM;/** * dGlobal * * represents an .global directive in ASM file. ".global sym" declare that * symbol sym is global and can be referenced from other files. */public class dGlobal extends ASMDirective{ public String sym; /** * Creates a .global directive for symbol @param sym. **/ public dGlobal(String sym) { super(ASMDirective.GLOBAL); this.sym = sym; } /** * Returns the string representation. */ public String toString() { return ".global "+sym; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?