Code Generation/Duplication of Floating Point Numbers on the Stack

From Wiki**3

< Code Generation
Revision as of 20:12, 25 May 2009 by Root (talk | contribs)

Duplication of double-precision floating point numbers on the stack.

<asm> RODATA ALIGN LABEL _L123 DOUBLE 3.3e-2

TEXT ALIGN GLOBL _main, FUNC LABEL _main ENTER 0

ADDR _L123 LOAD2

SP LOAD2

DADD

EXTRN printd CALL printd

TRASH 8

INT 0 POP LEAVE RET </asm>