I am trying to calculate the jmp offset of an instruction which has to be a negative number because I am jumping backwards. My addresses are u64 and I am trying to calculate the offset with the 2 u64 addresses and casting the result as a negative number but everytime I try I get a panic error in regards to truncating the value and if I print out the value as two u64 I get a lot of F's. How do I get the integers to wrap around?
Thanks,
Connor