呵呵, 冷漠同学很勇猛啊,要是 PK 时也能这样,那就真正的让人敬佩了。
中断stack 可能的深度,冷漠同学这么兴奋没必要吧? c51手册上说的很明白:
The interrupt attribute affects the object code of the function as follows:
1) When required, the contents of ACC, B, DPH, DPL, and PSW are saved on the stack at function invocation time.
2) All working registers used in the interrupt function are stored on the stack if a register bank is not specified with the using attribute.
中断断点2个bytes, 加上上面的5+8 个, 一共15个。如果是双 dptr, 还要再加 2个。 |