Reputation: 555
I have 8bits register s3 is the LSB 0x00 of the display I also have 8bits register s4 is the MSB 0x00 of the display The display shows as s4/s3 0000 which is 16 bits values
When the display has a value 0x0103, I want to add it to itselt assembly picoblaze. I cannot find a way to do it. As I know I can do
ADD s3, s3
ADDCY s4, 00
which will add 8bits s3 to itself and shift the Carry to s4, but it is not what I want. Is there a way that I can add s4/s3 to itself. Thank you!
Upvotes: 0
Views: 114