Writes a value to memory. The parameter size controls the width of the write and must be one of lword, word, hword, and byte corresponding to a write of 8, 4, 2, or 1 bytes, respectively. The paramter paddr specifies the physical address and value specifies the value written.