private void ioreg(String name, int offset) { constants.put(name.toLowerCase(), new Integer(offset)); }
private void constant(String name, int value) { constants.put(name.toLowerCase(), new Integer(value)); }
public void addVariable(String name, int value) { constants.put(labelName(name), new Integer(value)); }
public void addRegisterName(String name, AbstractToken reg) { LegacyRegister register = LegacyRegister.getRegisterByName(reg.image); if (register == null) ERROR.UnknownRegister(reg); definitions.put(labelName(name), register); }
// <label> public void addLabel(AbstractToken name) { Item.Label li = new Item.Label(segment, name); addItem(li); labels.put(name.image.toLowerCase(), li); }