@instruction<EOL><INDENT>def STRD(cpu, src1, src2, dest, offset=None):<DEDENT>
assert src1.type == '<STR_LIT>'<EOL>assert src2.type == '<STR_LIT>'<EOL>assert dest.type == '<STR_LIT>'<EOL>val1 = src1.read()<EOL>val2 = src2.read()<EOL>writeback = cpu._compute_writeback(dest, offset)<EOL>cpu.write_int(dest.address(), val1, <NUM_LIT:32>)<EOL>cpu.write_int(dest.address() + <NUM_LIT:4>, val2, <NUM_LIT:32>)<EOL>cpu._cs_hack_ldr_str_writeback(dest, offset, writeback)<EOL>
Writes the contents of two registers to memory.