avrora.syntax
Class Module.Seg

java.lang.Object
  extended byavrora.syntax.Module.Seg
Enclosing class:
Module

protected class Module.Seg
extends java.lang.Object


Method Summary
 void addLabel(int baddr, java.lang.String labelname)
           
 void advance(int dist)
           
 int getCurrentAddress()
           
 Module getModule()
           
 java.lang.String getName()
           
 void setOrigin(int org)
           
 void writeDataByte(ASTNode loc, int baddr, byte b)
           
 void writeDataBytes(ASTNode loc, int baddr, byte[] b)
           
 void writeInstr(AbstractToken loc, int baddr, Instr i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getModule

public Module getModule()

getName

public java.lang.String getName()

writeDataBytes

public void writeDataBytes(ASTNode loc,
                           int baddr,
                           byte[] b)

writeDataByte

public void writeDataByte(ASTNode loc,
                          int baddr,
                          byte b)

writeInstr

public void writeInstr(AbstractToken loc,
                       int baddr,
                       Instr i)

addLabel

public void addLabel(int baddr,
                     java.lang.String labelname)

setOrigin

public void setOrigin(int org)

getCurrentAddress

public int getCurrentAddress()

advance

public void advance(int dist)