EasyManua.ls Logo

Intel i960 - Page 151

Intel i960
347 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ic960 Compiler Driver
3-75
3
.text
.align 4
.def _main; .val _main; .scl 2; .type 0x40; .endef
.globl _main
# Function 'main'
# Registers used: g0 g1 g2 g3 g4 g5 g6 g7 fp r4*
# r5* r6* r7*
_main:
lda 48(sp),sp
#Prologue stats:
# Total Frame Size: 48 bytes
# Local Variable Size: 48 bytes
# Register Save Size: 0 regs, 0 bytes
#End Prologue#
0 7 register struct complex x,y,z;
0 8
0 9 INIT_COMPLEX (x, 10.31, 4.25);
+++++ x .x = 10.31 ; x .i = 4.25 ; ;
# lda 1.03100000000000004974e1,r4
lda 0x51eb851f,r4
lda 0x40249eb8,r5
movl r4,r6
stl r6,64(fp)
# lda 4.25000000000000000000e0,r4
mov 0,r4
lda 0x40110000,r5
mov l r4,r6
stl r6,72(fp)
0 10 INIT_COMPLEX (y, 7.14, 5.23);
+++++ y .x = 7.14 ; y .i = 5.23 ; ;
# lda 7.13999999999999968026e0,r4
lda 0x28f5c28f,r4
lda 0x401c8f5c,r5
mov l r4,r6
stl r6,80(fp)
# lda 5.23000000000000042633e0,r4
lda 0x1eb851ec,r4
lda 0x4014eb85,r5
mov l r4,r6
stl r6,88(fp)

Table of Contents

Related product manuals