PUSH
PUSH Integer
13-196
Syntax
PUSH
src
Operation
src
→
*++SP
Operands
src register (Rn, 0
≤
n
≤
27)
Opcode
31
24 23
16
8 7
0
15
0 0 0
0 1
1
1
0
1
src
0
0 1
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
Description
The contents of the
src register (32 LSBs) are pushed on the current system
stack. The
src is assumed to be a signed integer. The PUSH is performed with
a preincrement of the stack pointer. The integer or mantissa portion of an ex-
tended-precision register (R7–R0) is saved with this instruction.
Cycles
1
Status Bits
LUF
Unaffected
LV
Unaffected
UF
Unaffected
N
Unaffected
Z
Unaffected
V
Unaffected
C
Unaffected
OVM
Operation is not affected by OVM bit value.
Example
PUSH R6
Before Instruction
After Instruction
R6
02 5C12 8081
R6
02 5C12 8081
SP
8098AE
SP
8098AF
LUF
0
LUF
0
LV
0
LV
0
UF
0
UF
0
N
0
N
0
Z
0
Z
0
V
0
V
0
C
0
C
0
Data memory
8098AFh
0
8098AFh
5C128081
633,415,688
1,544,716,417
–62,044
633,415,688
Mode Bit