Skip to content

Instantly share code, notes, and snippets.

@vnkdj5
Created January 14, 2019 18:53
Show Gist options
  • Select an option

  • Save vnkdj5/21305b802ac8f7579e6b3d87e71a212f to your computer and use it in GitHub Desktop.

Select an option

Save vnkdj5/21305b802ac8f7579e6b3d87e71a212f to your computer and use it in GitHub Desktop.
TableRow class for PASS II assmbler
public class TableRow {
String symbol;
int address;
int index;
public TableRow(String symbol, int address) {
super();
this.symbol = symbol;
this.address = address;
}
public TableRow(String symbol, int address,int index) {
super();
this.symbol = symbol;
this.address = address;
this.index=index;
}
public int getIndex() {
return index;
}
public void setIndex(int index) {
this.index = index;
}
public String getSymbol() {
return symbol;
}
public void setSymbol(String symbol) {
this.symbol = symbol;
}
public int getAddress() {
return address;
}
public void setAddress(int address) {
this.address = address;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment