search:
CMPB 2, +X ; test actual label
BHI search ; branch to the next entry
BEQ found ; we found the right entry
LDX 0, SP ; we missed the right entry, so reload the address of the default label
found: PSHB ; save B register
LDAB 1, X ; load offset
LEAX B, X ; calculate dest address
LDAB 3, SP+ ; reload A, release stack
_SRET ; debug info only: This is the last instr of a function with a special return
JMP 0, X ; jump to the selected label
}
}
每次程序一到这就只能一步一步的运行了,为什么?