This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Start167.a66 and STKUN initializing

In start167.a66 file, I find following assembler instruction:

MOV STKOV,#(_BOS+6*2) ; INITIALIZE STACK OVFL REGISTER

Why the 6*2?

I could understand 4*2 because of automatic push/pop of PSW, CSP and IP (when interrupting) and one extra because of non-inclusive aspect.

Can anyone give explanation or reference to a manual?

Thanks, Bjorn

0