Andy #1 Use banks. consider every actual byte in the bank a bit, and do the binary math using peekbank and pokebank on various banks.Andy