how is "branch" instruction different from "jump"?
Thanks in advance.
A branch instruction is conditional. If some condition is met, program flow jumps to some other location. If the condition is not met, the next instruction is executed instead.
A jump, on the other hand, is not conditional.
It also sometimes has to do with language you are programming. I believed in 68HC11 code, a jump is for an absolute position, and a branch is relative. Check out the BRA and the JMP commands.
From what I have seen, it is more loose than an absolute definition.
ya, we use 68HC12. Thanks for the explanations.
Separate names with a comma.