PUSH Floating-Point Value
PUSHF
13-197
Assembly Language Instructions
Syntax PUSHF
src
Operation
src
*++SP
Operands
src
register (R
n
, 0
n
7)
Opcode
31 24 23 16 8 7 015
00001 1
1 11
src
0
01000000000000 00 00
Description The contents of the
src
register (32 MSBs) are pushed on the current system
stack. The
src
is assumed to be a floating-point number. The PUSH is per-
formed with a preincrement of the stack pointer. The eight LSBs of the mantis-
sa are not saved. (Note the difference in R2 and the value on the stack in the
example below.)
Cycles 1
Status Bits LUF Unaffected
LV Unaffected
UF Unaffected
NUnaffected
ZUnaffected
VUnaffected
CUnaffected
OVM Operation is not affected by OVM bit value.
Example PUSHF R2
Before Instruction After Instruction
R2 02 5C12 8081 R2 02 5C12 8081
SP 809801 SP 809802
LUF 0LUF 0
LV 0LV 0
UF 0UF 0
N0N0
Z0Z0
V0V0
C0C0
Data memory
809802h 0809802h 025C1280
6.87725854e+00
6.87725830e+00
6.87725854e+00
Mode Bit