I think it's because WRITE defaults to BYTE variables. Sine you're using WORDs you need to tell it to write WORDs. Same thing with READ.

/Henrik.