具体就是执行到这个函数的时候程序就跑飞了,请版主帮忙看看是怎么回事! #pragma NO_FRAME #pragma NO_ENTRY #pragma NO_EXIT void NEAR _CASE_CHECKED_BYTE (void) { __asm { PULX ; load address PSHB CMPB 2, X+ ; compare low byte TBNE A, defa ; branch if value > 0xff BLO jump ; branch if value < #entries defa: LDAB -1, X ; select default entry, address = X-1 BRA sum jump: LDAB B, X ; load branch offset sum: LEAX B, X PULB _SRET ; debug info only: This is the last instr of a function with a special return JMP 0, X ; jump to selected entry } } 谢谢! |