From the second part of the brief:
Hmm, a little stumped here. To my mind (after a lot of reading but obviously not enough!) when the first BYTE (number) arrives I need to send it to a memory location where it won't be overwritten when the second BYTE arrives.Then add the two together.Could even send a couple of numbers and have an operation done on them and the results sent back to the PC.
The only thing I've found so far that has a seperate address element is this (I think):
I'm thinking: MYVAR VAR BYTE [1] which is two elements 0,1. then somehow add element 0 to element1.Code:Label VAR Size[Number of elements]
Warm or way off?
Dave




Bookmarks