Your SlideShare is downloading. ×
passaggio di parametri nello stack V2.1
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

passaggio di parametri nello stack V2.1

308
views

Published on


0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
308
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. PASSAGGIO DI PARAMETRI -Animazione del passaggio di parametri nello stack- *V2. 1*
  • 2.
    • PROGRAMMA PRINCIPALE
    • .
    • .
    • NUM1 DW ?
    • NUM2 DW ?
    • .
    • .
    • PUSH NUM1
    • PUSH NUM2
    • CALL SOMMA
    • .
    • .
    • SOTTOPROGRAMMA “SOMMA”
    • .
    • .
    • SOMMA PROC NEAR
    • PUSH BP
    • MOV BP, SP
    • MOV AX, [BP+4]
    • ADD AX, [BP+6]
    • POP BP
    • RET 4
    • SOMMA ENDP
    • .
    • .
    SP
  • 3.
    • PROGRAMMA PRINCIPALE
    • .
    • .
    • NUM1 DW ?
    • NUM2 DW ?
    • .
    • .
    • PUSH NUM1
    • PUSH NUM2
    • CALL SOMMA
    • .
    • .
    • .
    • SOTTOPROGRAMMA “SOMMA”
    • .
    • .
    • SOMMA PROC NEAR
    • PUSH BP
    • MOV BP, SP
    • MOV AX, [BP+4]
    • ADD AX, [BP+6]
    • POP BP
    • RET 4
    • SOMMA ENDP
    • .
    • .
    SP NUM1
  • 4.
    • PROGRAMMA PRINCIPALE
    • .
    • .
    • NUM1 DW ?
    • NUM2 DW ?
    • .
    • .
    • PUSH NUM1
    • PUSH NUM2
    • CALL SOMMA
    • .
    • .
    • SOTTOPROGRAMMA “SOMMA”
    • .
    • .
    • SOMMA PROC NEAR
    • PUSH BP
    • MOV BP, SP
    • MOV AX, [BP+4]
    • ADD AX, [BP+6]
    • POP BP
    • RET 4
    • SOMMA ENDP
    • .
    • .
    SP NUM1 NUM2
  • 5.
    • PROGRAMMA PRINCIPALE
    • .
    • .
    • NUM1 DW ?
    • NUM2 DW ?
    • .
    • .
    • PUSH NUM1
    • PUSH NUM2
    • CALL SOMMA
    • .
    • .
    • .
    • SOTTOPROGRAMMA “SOMMA”
    • .
    • .
    • SOMMA PROC NEAR
    • PUSH BP
    • MOV BP, SP
    • MOV AX, [BP+4]
    • ADD AX, [BP+6]
    • POP BP
    • RET 4
    • SOMMA ENDP
    • .
    • .
    SP NUM1 NUM2 IP/SOMMA
  • 6.
    • PROGRAMMA PRINCIPALE
    • .
    • .
    • NUM1 DW ?
    • NUM2 DW ?
    • .
    • .
    • PUSH NUM1
    • PUSH NUM2
    • CALL SOMMA
    • .
    • .
    • .
    • SOTTOPROGRAMMA “SOMMA”
    • .
    • .
    • SOMMA PROC NEAR
    • PUSH BP
    • MOV BP, SP
    • MOV AX, [BP+4]
    • ADD AX, [BP+6]
    • POP BP
    • RET 4
    • SOMMA ENDP
    • .
    • .
    SP NUM1 NUM2 IP/SOMMA BP
  • 7.
    • PROGRAMMA PRINCIPALE
    • .
    • .
    • NUM1 DW ?
    • NUM2 DW ?
    • .
    • .
    • PUSH NUM1
    • PUSH NUM2
    • CALL SOMMA
    • .
    • .
    • .
    • SOTTOPROGRAMMA “SOMMA”
    • .
    • .
    • SOMMA PROC NEAR
    • PUSH BP
    • MOV BP, SP
    • MOV AX, [BP+4]
    • ADD AX, [BP+6]
    • POP BP
    • RET 4
    • SOMMA ENDP
    • .
    • .
    SP NUM1 NUM2 IP/SOMMA BP SP
  • 8.
    • PROGRAMMA PRINCIPALE
    • .
    • .
    • NUM1 DW ?
    • NUM2 DW ?
    • .
    • .
    • PUSH NUM1
    • PUSH NUM2
    • CALL SOMMA
    • .
    • .
    • .
    • SOTTOPROGRAMMA “SOMMA”
    • .
    • .
    • SOMMA PROC NEAR
    • PUSH BP
    • MOV BP, SP
    • MOV AX, [BP+4]
    • ADD AX, [BP+6]
    • POP BP
    • RET 4
    • SOMMA ENDP
    • .
    • .
    BP+6 NUM1 NUM2 IP/SOMMA BP SP BP+4 BP+2 BP
  • 9.
    • PROGRAMMA PRINCIPALE
    • .
    • .
    • NUM1 DW ?
    • NUM2 DW ?
    • .
    • .
    • PUSH NUM1
    • PUSH NUM2
    • CALL SOMMA
    • .
    • .
    • .
    • SOTTOPROGRAMMA “SOMMA”
    • .
    • .
    • SOMMA PROC NEAR
    • PUSH BP
    • MOV BP, SP
    • MOV AX, [BP+4]
    • ADD AX, [BP+6]
    • POP BP
    • RET 4
    • SOMMA ENDP
    • .
    • .
    NUM1 NUM2 IP/SOMMA BP SP
  • 10.
    • PROGRAMMA PRINCIPALE
    • .
    • .
    • NUM1 DW ?
    • NUM2 DW ?
    • .
    • .
    • PUSH NUM1
    • PUSH NUM2
    • CALL SOMMA
    • .
    • .
    • .
    • SOTTOPROGRAMMA “SOMMA”
    • .
    • .
    • SOMMA PROC NEAR
    • PUSH BP
    • MOV BP, SP
    • MOV AX, [BP+4]
    • ADD AX, [BP+6]
    • POP BP
    • RET 4
    • SOMMA ENDP
    • .
    • .
    NUM1 NUM2 IP/SOMMA SP
  • 11.
    • PROGRAMMA PRINCIPALE
    • .
    • .
    • NUM1 DW ?
    • NUM2 DW ?
    • .
    • .
    • PUSH NUM1
    • PUSH NUM2
    • CALL SOMMA
    • .
    • .
    • SOTTOPROGRAMMA “SOMMA”
    • .
    • .
    • SOMMA PROC NEAR
    • PUSH BP
    • MOV BP, SP
    • MOV AX, [BP+4]
    • ADD AX, [BP+6]
    • POP BP
    • RET 4
    • SOMMA ENDP
    • .
    • .
    SP
  • 12. FINE Realizzato da: Santoni Elia Classe: 4° G Anno scolastico: 2008-09 ITIS E.DIVINI San Severino Marche