What is the difference between a trap instruction and branching?
I read that a trap vector is much like an interrupt and when a trap instruction happens, program jumps to a subroutine.
Why can't branching be used? What is the difference between trap vector and branching? I thought that both perform the same instruction. thanks
I read that a trap vector is much like an interrupt and when a trap instruction happens, program jumps to a subroutine.
Why can't branching be used? What is the difference between trap vector and branching? I thought that both perform the same instruction. thanks