Distance (between symbols/instructions)

Posted 2023-01-27 04:10:37 ‐ 1 min read

Distance (between symbols/instructions) is the distance between two symbols/instructions, can be negative.

For example:

a:
  addi x1, x0, 1
b:
  addi x2, x0, 2

The distance from a to b is 4 bytes.

The distance from b to a is -4 bytes.

Disambiguation: