Sign extend write to SDRAM