It's no more difficult than copying data from a single variable to another.
X VAR BYTE
Y VAR BYTE
X = 3
Y = X
You can state X = SSMAX(23), Y = SSMAX(34), etc,,.
Since the resulting value will be a word, then use something like this;
SSMAX(23) contains 83h
SSMAX(34) contains 03h
Result VAR WORD
Result.LowByte = SSMAX(23) ' Place 83h into lowbyte
Result.HighByte = SSMAX(34) ' Place 03h into highbyte
HSEROUT [DEC Result] ' Print decimal value of 0383h = 899
Bookmarks