Well, that’s not what I said, just read my post again!
But let me explain this again with your words:
So you wanted to get $59 (or 89 in hexadecimal representation, which the ‘$’ sign stands for) having a value1 = $5 and a value2 = $9, right?
In my post above I wrote:
value1*16 + value2, which give 5*16 + 2 = 89, or $59.
For the sake of optimization, the same result you get by shifting $5 left 4 bit positions (gives 80 = $50), then OR-ing (ORAA/ORAB, same as adding in this case, but probably faster than ADDA) the result with $9 (giving 80+9=89, or $59).
Are we in tune now?
Arthur