I am using the P18F8720's many io pins to write usart data to a 32K NVRAM. I don't have room for an address data latch so I am assigning:
Address(0..7) to PortD Address(8..15)to PortJ Data(0..8) to PortE WE/ to PortB.0 OE/ to PortB.1
At least that is what I thought I wanted to do before I started to write the code. Is there some way to combine PortD and PortJ to make a
16 bit register? Or some way to move values from the upper byte of Address to PortJ and the lower byte to PortD?I could use a chain of conditionals to move Address bytes to Ports but it seems clunkier than necessary.
Thanks much, Ed V.