SlowThinker
- 475
- 65
My point was that the translated instruction is different depending on the address of the target of the jump. The assembler needs to figure out this address during compilation. So it's not really 1:1 correspondence between what you write and what results. Some CPUs have relative addressing of jumps, soChrisVer said:Wait, I am confused- why is jmp an example for not 1-to-1 correspondance between assembly and machine code?
Code:
jmp imalabel
Compiling C, in my opinion, is more of the same, not something qualitatively different.