0da1c5dcca
First commit of the 4.5 version (latest version available)
768 lines
32 KiB
HTML
768 lines
32 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<!-- Generated by javadoc (build 1.6.0_33) on Tue Aug 20 12:20:52 EDT 2013 -->
|
|
<TITLE>
|
|
Directives
|
|
</TITLE>
|
|
|
|
<META NAME="date" CONTENT="2013-08-20">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="Directives";
|
|
}
|
|
}
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
</NOSCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
<HR>
|
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../mars/assembler/DataTypes.html" title="class in mars.assembler"><B>PREV CLASS</B></A>
|
|
<A HREF="../../mars/assembler/Macro.html" title="class in mars.assembler"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../index.html?mars/assembler/Directives.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="Directives.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_top"></A>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
mars.assembler</FONT>
|
|
<BR>
|
|
Class Directives</H2>
|
|
<PRE>
|
|
<A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
|
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>mars.assembler.Directives</B>
|
|
</PRE>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>public final class <B>Directives</B><DT>extends <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
Class representing MIPS assembler directives. If Java had enumerated types, these
|
|
would probably be implemented that way. Each directive is represented by a unique object.
|
|
The directive name is indicative of the directive it represents. For example, DATA
|
|
represents the MIPS .data directive.
|
|
<P>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><B>Author:</B></DT>
|
|
<DD>Pete Sanderson</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<P>
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
<A NAME="field_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Field Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#ALIGN">ALIGN</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#ASCII">ASCII</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#ASCIIZ">ASCIIZ</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#BYTE">BYTE</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#DATA">DATA</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#DOUBLE">DOUBLE</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#END_MACRO">END_MACRO</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#EQV">EQV</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#EXTERN">EXTERN</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#FLOAT">FLOAT</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#GLOBL">GLOBL</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#HALF">HALF</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#INCLUDE">INCLUDE</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#KDATA">KDATA</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#KTEXT">KTEXT</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#MACRO">MACRO</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#SET">SET</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#SPACE">SPACE</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#TEXT">TEXT</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#WORD">WORD</A></B></CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
|
<A NAME="method_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Method Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#getDescription()">getDescription</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Get description of this Directives object</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#getDirectiveList()">getDirectiveList</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Produces List of Directive objects</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#getName()">getName</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Get name of this Directives object</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#isFloatingDirective(mars.assembler.Directives)">isFloatingDirective</A></B>(<A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> direct)</CODE>
|
|
|
|
<BR>
|
|
Lets you know whether given directive is for floating number (FLOAT,DOUBLE).</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#isIntegerDirective(mars.assembler.Directives)">isIntegerDirective</A></B>(<A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> direct)</CODE>
|
|
|
|
<BR>
|
|
Lets you know whether given directive is for integer (WORD,HALF,BYTE).</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#matchDirective(java.lang.String)">matchDirective</A></B>(<A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> str)</CODE>
|
|
|
|
<BR>
|
|
Find Directive object, if any, which matches the given String.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#prefixMatchDirectives(java.lang.String)">prefixMatchDirectives</A></B>(<A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> str)</CODE>
|
|
|
|
<BR>
|
|
Find Directive object, if any, which contains the given string as a prefix.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE> <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../mars/assembler/Directives.html#toString()">toString</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Produces String-ified version of Directive object</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
|
|
<A NAME="field_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Field Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="DATA"><!-- --></A><H3>
|
|
DATA</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>DATA</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="TEXT"><!-- --></A><H3>
|
|
TEXT</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>TEXT</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="WORD"><!-- --></A><H3>
|
|
WORD</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>WORD</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="ASCII"><!-- --></A><H3>
|
|
ASCII</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>ASCII</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="ASCIIZ"><!-- --></A><H3>
|
|
ASCIIZ</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>ASCIIZ</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="BYTE"><!-- --></A><H3>
|
|
BYTE</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>BYTE</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="ALIGN"><!-- --></A><H3>
|
|
ALIGN</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>ALIGN</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="HALF"><!-- --></A><H3>
|
|
HALF</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>HALF</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="SPACE"><!-- --></A><H3>
|
|
SPACE</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>SPACE</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="DOUBLE"><!-- --></A><H3>
|
|
DOUBLE</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>DOUBLE</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="FLOAT"><!-- --></A><H3>
|
|
FLOAT</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>FLOAT</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="EXTERN"><!-- --></A><H3>
|
|
EXTERN</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>EXTERN</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="KDATA"><!-- --></A><H3>
|
|
KDATA</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>KDATA</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="KTEXT"><!-- --></A><H3>
|
|
KTEXT</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>KTEXT</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="GLOBL"><!-- --></A><H3>
|
|
GLOBL</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>GLOBL</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="SET"><!-- --></A><H3>
|
|
SET</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>SET</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="EQV"><!-- --></A><H3>
|
|
EQV</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>EQV</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="MACRO"><!-- --></A><H3>
|
|
MACRO</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>MACRO</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="END_MACRO"><!-- --></A><H3>
|
|
END_MACRO</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>END_MACRO</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="INCLUDE"><!-- --></A><H3>
|
|
INCLUDE</H3>
|
|
<PRE>
|
|
public static final <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>INCLUDE</B></PRE>
|
|
<DL>
|
|
<DL>
|
|
</DL>
|
|
</DL>
|
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
|
<A NAME="method_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Method Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="matchDirective(java.lang.String)"><!-- --></A><H3>
|
|
matchDirective</H3>
|
|
<PRE>
|
|
public static <A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> <B>matchDirective</B>(<A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> str)</PRE>
|
|
<DL>
|
|
<DD>Find Directive object, if any, which matches the given String.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>str</CODE> - A String containing candidate directive name (e.g. ".ascii")
|
|
<DT><B>Returns:</B><DD>If match is found, returns matching Directives object, else returns <tt>null</tt>.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="prefixMatchDirectives(java.lang.String)"><!-- --></A><H3>
|
|
prefixMatchDirectives</H3>
|
|
<PRE>
|
|
public static <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A> <B>prefixMatchDirectives</B>(<A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> str)</PRE>
|
|
<DL>
|
|
<DD>Find Directive object, if any, which contains the given string as a prefix. For example,
|
|
".a" will match ".ascii", ".asciiz" and ".align"
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>str</CODE> - A String
|
|
<DT><B>Returns:</B><DD>If match is found, returns ArrayList of matching Directives objects, else returns <tt>null</tt>.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="toString()"><!-- --></A><H3>
|
|
toString</H3>
|
|
<PRE>
|
|
public <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE>
|
|
<DL>
|
|
<DD>Produces String-ified version of Directive object
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Overrides:</B><DD><CODE><A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></DL>
|
|
</DD>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>String representing Directive: its MIPS name</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getName()"><!-- --></A><H3>
|
|
getName</H3>
|
|
<PRE>
|
|
public <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getName</B>()</PRE>
|
|
<DL>
|
|
<DD>Get name of this Directives object
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>name of this MIPS directive as a String</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDescription()"><!-- --></A><H3>
|
|
getDescription</H3>
|
|
<PRE>
|
|
public <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getDescription</B>()</PRE>
|
|
<DL>
|
|
<DD>Get description of this Directives object
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>description of this MIPS directive (for help purposes)</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="getDirectiveList()"><!-- --></A><H3>
|
|
getDirectiveList</H3>
|
|
<PRE>
|
|
public static <A HREF="http://docs.oracle.com/javase/1.5.0/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A> <B>getDirectiveList</B>()</PRE>
|
|
<DL>
|
|
<DD>Produces List of Directive objects
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>MIPS Directive</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isIntegerDirective(mars.assembler.Directives)"><!-- --></A><H3>
|
|
isIntegerDirective</H3>
|
|
<PRE>
|
|
public static boolean <B>isIntegerDirective</B>(<A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> direct)</PRE>
|
|
<DL>
|
|
<DD>Lets you know whether given directive is for integer (WORD,HALF,BYTE).
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>direct</CODE> - a MIPS directive
|
|
<DT><B>Returns:</B><DD>true if given directive is FLOAT or DOUBLE, false otherwise</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isFloatingDirective(mars.assembler.Directives)"><!-- --></A><H3>
|
|
isFloatingDirective</H3>
|
|
<PRE>
|
|
public static boolean <B>isFloatingDirective</B>(<A HREF="../../mars/assembler/Directives.html" title="class in mars.assembler">Directives</A> direct)</PRE>
|
|
<DL>
|
|
<DD>Lets you know whether given directive is for floating number (FLOAT,DOUBLE).
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>direct</CODE> - a MIPS directive
|
|
<DT><B>Returns:</B><DD>true if given directive is FLOAT or DOUBLE, false otherwise.</DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<HR>
|
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../mars/assembler/DataTypes.html" title="class in mars.assembler"><B>PREV CLASS</B></A>
|
|
<A HREF="../../mars/assembler/Macro.html" title="class in mars.assembler"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../index.html?mars/assembler/Directives.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="Directives.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
|
|
</BODY>
|
|
</HTML>
|