
19-19 _________________________________________________________________________________________________________
MAXQ7667 User’s Guide
OR Acc.<b> Logical OR Carry Flag with Accumulator Bit
Description:
Performs a logical-OR between the Carry (C) status flag and a specified bit of the active accumulator (Acc.<b>)
and returns the result to the Carry.
Status Flags: C
Operation: C ← C OR Acc.<b>
Encoding: 15 0
Example(s): ; Acc = 2345h, C=0 at start
OR Acc.1 ; Acc.1=0
→ C=0
OR Acc.2 ; Acc.2=1
→ C=1
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
Example(s): ; GR ← 1234h
POP GR ; @DP[0]
← 76h (WBS0=0)
POP @DP[0] ; @DP[0]
← 0876h (WBS0=1)
Stack Data:
← SP (initial)
← SP (after POP GR)
← SP (after POP @DP[0])
Kommentare zu diesen Handbüchern