The stack protection registers are listed in Table B-12, Table B-13,and Table B-14.

Table B-12. Stack Limit Control Register

 

Stack Limit Control Register

(STKCR)

(Address = 0x0444)

 

 

 

 

 

 

Bit(s)

 

Value

 

Description

 

 

 

 

 

7:1

 

 

These bits are reserved and should be written with zeros.

 

 

 

 

 

 

0

 

0

Disable stack-limit checking.

 

 

 

 

 

 

 

 

1

Enable stack-limit checking.

 

 

 

 

 

 

 

 

 

 

 

 

Table B-13. Stack Low Limit Register

 

Stack Low Limit Register

(STKLLR)

(Address = 0x0445)

 

 

 

 

 

Bit(s)

Value

 

Description

 

 

 

 

 

 

Lower limit for stack limit checking. If a stack operation or stack-relative

7:0

 

memory access is attempted at an address less than {STKLLR, 0x10} a stack

 

 

limit violation interrupt is generated.

 

 

 

 

 

 

Table B-14. Stack High Limit Register

 

Stack High Limit Register

(STKHLR)

(Address = 0x0446)

 

 

 

 

 

 

Bit(s)

 

Value

 

Description

 

 

 

 

 

 

 

 

Upper limit for stack limit checking. If a stack operation or stack-relative

7:0

 

 

memory access is attempted at an address greater than {STKHLR, 0x0EF} a

 

 

 

stack limit violation interrupt is generated.

 

 

 

 

 

 

 

290

Rabbit 3000 Microprocessor

Page 299
Image 299
Jameco Electronics 2000, 3000 manual Table B-12. Stack Limit Control Register, Table B-13. Stack Low Limit Register