Maxim-integrated DS4830 Optical Microcontroller Uživatelský manuál Strana 207

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 227
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 206
DS4830 User’s Guide
207
POP dst Pop Word from the Stack
Description: Pops a single word from the stack (@SP) to the specified dst and decrements the stack pointer
(SP).
Status Flags: S, Z (if dst = Acc or AP or APC)
C, E (if dst = PSF)
Operation: dst @ SP--
Encoding: 15 0
1ddd
dddd
0000
1101
Example(s): POP GR ; GR 1234h
POP @DP[0] ; @DP[0] 76h (WBS0=0)
; @DP[0] 0876h (WBS0=1)
Stack Data:
xxxxh
1234h
SP (initial)
0876h
SP (after POP GR)
xxxxh
SP (after POP @DP[0])
xxxxh
POPI dst Pop Word from the Stack Enable Interrupts
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.
Status Flags: 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
PUSH src Push Word to the Stack
Description: Increments the stack pointer (SP) and pushes a single word specified by src to the stack (@SP).
Status Flags: None
Zobrazit stránku 206
1 2 ... 202 203 204 205 206 207 208 209 210 211 212 ... 226 227

Komentáře k této Příručce

Žádné komentáře