public void writeDataBytes(ASTNode loc, int baddr, byte[] b) { if (acceptsData) newprogram.writeProgramBytes(b, baddr); else ERROR.DataCannotBeInSegment(name, loc); }
public void writeInstr(AbstractToken loc, int baddr, LegacyInstr i) { if (acceptsInstrs) newprogram.writeInstr(i, baddr); else ERROR.InstructionCannotBeInSegment(name, loc); }