pub fn assemble_opcode<D: DataAccessElem>(
mnemonic: Mnemonic,
arg1: &Option<D>,
arg2: &Option<D>,
arg3: &Option<Register8>,
env: &mut Env,
) -> Result<Bytes, AssemblerError>
Expand description
Assemble an opcode and returns the generated bytes or the error message if it is impossible to assemblea. We assume the opcode is properlt coded. Panic occurs if it is not the case