aboutsummaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
authorMichael Forney <[email protected]>2021-10-19 13:47:31 -0700
committerMichael Forney <[email protected]>2021-10-19 13:47:31 -0700
commit936dd9a97e454747f8783fda8f1ee0c13d3f991d (patch)
tree9f1ee66b217ba71e04d5ee4c4800e13addfbe629 /parse.c
parentaa8a1c835b392023d2551257ee02951e43ee27db (diff)
Consider change in instruction size when calculating jump distance.
If we previously used a 4-byte offset, the instruction is 4 bytes larger than if we were to use a 1 byte offset. Therefore, an instruction whose previous offset was 0x83 should still be eligible for 1 byte encoding.
Diffstat (limited to 'parse.c')
0 files changed, 0 insertions, 0 deletions