RTI

RTI - Return from Interruptroutine

 

Operating Mode

     

PC :=  ds[Stack] (only the last 11 Bits)                              

Stack := Stack - 1

 

Description

 

Sets program counter to last saved stack value( taking ony the last 11 Bits) and decrements stack pointer by 1.

 

Binary Command

15 14 13 12 11

10 9 8 7 6 5 4 3 2 1

 0

01111

----------

1

Example

 

RTI

15 14 13 12 11

10 9 8 7 6 5 4 3 2 1

 0

01111

----------

1