Today’s Topics
- Project 1 questions
Less than a week left, should be in Phase III But it’s really about logging the hours Test, test, test
- Runtime systems introduction
Todays Topics Project 1 questions Less than a week left, should be - - PowerPoint PPT Presentation
Todays Topics Project 1 questions Less than a week left, should be in Phase III But its really about logging the hours Test, test, test Runtime systems introduction Goal Bridging concepts Domain analysis
Live Presentation
Live Presentation
VAR x, y: INTEGER; BEGIN x := x + y; END.
VAR x, y: INTEGER; BEGIN x := x + y; END.
.seg "data" globals: .common _x,0x4,"data" .common _y,0x4,"data" .seg "text" _main: set globals, %g7 !#PROLOGUE# 0 ; allocate stack frame (locals) sethi %hi(LF14),%g1 add %g1,%lo(LF14),%g1 save %sp,%g1,%sp !#PROLOGUE# 1 ld [%g7+4],%o0 ; y ld [%g7+0],%o1 ; x add %o1,%o0,%o1 ; add st %o1,[%g7+0] ; x <- ret ; return from function restore ; free stack frame space (locals) LF14 = -64 ; total size of main's stack frame
VAR x, y: INTEGER; BEGIN x := x + y; END.
.seg "data" globals: .common _x,0x4,"data" .common _y,0x4,"data" .seg "text" _main: set globals, %g7 !#PROLOGUE# 0 ; allocate stack frame (locals) sethi %hi(LF14),%g1 add %g1,%lo(LF14),%g1 save %sp,%g1,%sp !#PROLOGUE# 1 ld [%g7+4],%o0 ; y ld [%g7+0],%o1 ; x add %o1,%o0,%o1 ; add st %o1,[%g7+0] ; x <- ret ; return from function restore ; free stack frame space (locals) LF14 = -64 ; total size of main's stack frame
Huge step to take
Huge step to take
VAR x, y: INTEGER; BEGIN x := x + y; END.
.seg "data" globals: .common _x,0x4,"data" .common _y,0x4,"data" .seg "text" _main: set globals, %g7 !#PROLOGUE# 0 ; allocate stack frame (locals) sethi %hi(LF14),%g1 add %g1,%lo(LF14),%g1 save %sp,%g1,%sp !#PROLOGUE# 1 ld [%g7+4],%o0 ; y ld [%g7+0],%o1 ; x add %o1,%o0,%o1 ; add st %o1,[%g7+0] ; x <- ret ; return from function restore ; free stack frame space (locals) LF14 = -64 ; total size of main's stack frame
Huge step to take
Huge step to take
Different paradigms
simple types
Different paradigms
simple types
VAR x, y: INTEGER; BEGIN x := x + y; END.
.seg "data" globals: .common _x,0x4,"data" .common _y,0x4,"data" .seg "text" _main: set globals, %g7 !#PROLOGUE# 0 ; allocate stack frame (locals) sethi %hi(LF14),%g1 add %g1,%lo(LF14),%g1 save %sp,%g1,%sp !#PROLOGUE# 1 ld [%g7+4],%o0 ; y ld [%g7+0],%o1 ; x add %o1,%o0,%o1 ; add st %o1,[%g7+0] ; x <- ret ; return from function restore ; free stack frame space (locals) LF14 = -64 ; total size of main's stack frame
Huge step to take
Huge step to take
Different paradigms
simple types
Different paradigms
simple types
VAR x, y: INTEGER; BEGIN x := x + y; END.
.seg "data" globals: .common _x,0x4,"data" .common _y,0x4,"data" .seg "text" _main: set globals, %g7 !#PROLOGUE# 0 ; allocate stack frame (locals) sethi %hi(LF14),%g1 add %g1,%lo(LF14),%g1 save %sp,%g1,%sp !#PROLOGUE# 1 ld [%g7+4],%o0 ; y ld [%g7+0],%o1 ; x add %o1,%o0,%o1 ; add st %o1,[%g7+0] ; x <- ret ; return from function restore ; free stack frame space (locals) LF14 = -64 ; total size of main's stack frame
Huge step to take
Huge step to take
Different paradigms
simple types
Different paradigms
simple types
VAR x, y: INTEGER; BEGIN x := x + y; END.
.seg "data" globals: .common _x,0x4,"data" .common _y,0x4,"data" .seg "text" _main: set globals, %g7 !#PROLOGUE# 0 ; allocate stack frame (locals) sethi %hi(LF14),%g1 add %g1,%lo(LF14),%g1 save %sp,%g1,%sp !#PROLOGUE# 1 ld [%g7+4],%o0 ; y ld [%g7+0],%o1 ; x add %o1,%o0,%o1 ; add st %o1,[%g7+0] ; x <- ret ; return from function restore ; free stack frame space (locals) LF14 = -64 ; total size of main's stack frame
Huge step to take
Huge step to take
Different paradigms
simple types
Different paradigms
simple types
VAR x, y: INTEGER; BEGIN x := x + y; END.
.seg "data" globals: .common _x,0x4,"data" .common _y,0x4,"data" .seg "text" _main: set globals, %g7 !#PROLOGUE# 0 ; allocate stack frame (locals) sethi %hi(LF14),%g1 add %g1,%lo(LF14),%g1 save %sp,%g1,%sp !#PROLOGUE# 1 ld [%g7+4],%o0 ; y ld [%g7+0],%o1 ; x add %o1,%o0,%o1 ; add st %o1,[%g7+0] ; x <- ret ; return from function restore ; free stack frame space (locals) LF14 = -64 ; total size of main's stack frame
Huge step to take
Huge step to take
Different paradigms
simple types
Different paradigms
simple types
Bridging principles
Bridging principles