Next: Offsets and Sizes, Previous: Unaligned Integers, Up: Basic Editing [Contents][Index]
When integer values of different sizes are passed to an arithmetic or relational operator, the “smaller” operand gets converted into the size of the “bigger” operand. For example:
(poke) 1H + 2 3
The operands are of size 16-bit and 32-bit respectively, and the result is a 32-bit integer. This is equivalent to:
(poke) 1H as int<32> + 2 3