dalign.java

来自「用Java实现的编译器。把源代码编译成SPARC汇编程序」· Java 代码 · 共 33 行

JAVA
33
字号
// $Id: dAlign.java,v 1.2 1999/11/04 16:53:41 deberg Exp $package java6035.tools.ASM;/** * dAlign * * represents an .align directive in ASM file. ".align n" indicates the * next datum should be aligned on n byte boundary. N should be =1,2,4,8... * in powers of 2 */public class dAlign extends ASMDirective{    public int align;    public dAlign(int n)    {		super(ASMDirective.ALIGN);		this.align = n;    }    /**     * Returns the string representation.     */    public String toString()    {		return ".align "+align;    }}

⌨️ 快捷键说明

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