Maxim Integrated MAX31782 User Manual

Page 201

Advertising
background image



MaximIntegrated  20-18

MAX31782 User’s Guide

Revision 0; 8/11

POPIdst

PopWordfromtheStackEnableInterrupts

Description:

Pops a single word from the stack (@SP) to the specified dst and decrements the stack pointer
(SP) . Additionally, POPI returns the interrupt logic to a state in which it can acknowledge additional
interrupts .

StatusFlags:

S, Z (if dst = Acc or AP or APC)

C, E (if dst = PSF)

Operation:

dst

← @ SP--

INS

← 0

Encoding:

15

0

1ddd

dddd

1000

1101

Example(s):

See POP

PUSHsrc

PushWordtotheStack

Description:

Increments the stack pointer (SP) and pushes a single word specified by src to the stack (@SP) .

StatusFlags:

None

Operation:

SP

← ++SP

Encoding:

15

0

f000

1101

ssss

ssss

Example(s):

PUSH GR

; GR=0F3Fh

PUSH #40h

Stack Data:

xxxxh

0040h

← SP (after PUSH #40h)

0F3F

← SP (after PUSH GR)

xxxxh

← SP (initial)

xxxxh

Advertising