consider a text file consisting of hexadecimal entries as shown below.
0x405d75=inst1 0x405d7a=inst2 0x4035f7=inst1 0x4035f8=inst2 0x4035f8=inst1 0x4035fb=inst2 0x4035fb=inst1 0x4035fc=inst2 0x4035fc=inst1 0x4035fd=inst2 0x405d7a=inst1 0x405d81=inst2 . . . . .
how do i subtract (inst2-inst1) and diplay the difference in hexadecimal and also in integer value in perl.
Thanks in advance!
In reply to Subtract 2 hexadecimal numbers by samd
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |