It isn't accurate, You won't have 1024 bytes available. I guess you'll have at disposition:

((0x800 - 0x5f4) * 2) - 0x80