public byte[] assemble(Address at, String line)
			throws AssemblySyntaxException, AssemblySemanticException, IOException {
		byte[] full = baos.toByteArray();
		byte[] bytes = asm.assembleLine(at, line);
		System.arraycopy(bytes, 0, full, (int) at.subtract(entry), bytes.length);
		baos.reset();
		baos.write(full);
		return bytes;
	}
Assemble a line and patch into the buffer

@see #assemble(Address, String, AssemblyPatternBlock)
@param at the address of the instruction to patch
@param line the line
@return the resulting bytes for the assembled instruction
@throws AssemblySyntaxException if the instruction cannot be parsed
@throws AssemblySemanticException if the instruction cannot be encoded
@throws IOException if the buffer cannot be written
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/assembler/AssemblyBuffer.java