"programma che fa una procedura e somma due parametri assembly" Code Answer's
You're definitely familiar with the best coding language Whatever that developers use to develop their projects and they get all their queries like "programma che fa una procedura e somma due parametri assembly" answered properly. Developers are finding an appropriate answer about programma che fa una procedura e somma due parametri assembly related to the Whatever coding language. By visiting this online portal developers get answers concerning Whatever codes question like programma che fa una procedura e somma due parametri assembly. Enter your desired code related query in the search bar and get every piece of information about Whatever code related question on programma che fa una procedura e somma due parametri assembly.
programma che fa una procedura e somma due parametri assembly
.model small
.stack 100h
.data
num1 db 50
num2 db 250
tot dw ?
.code
inizio:
mov ax,@data
mov ds,ax
; metti qui l'input di num1 e di num2
mov ax,0
push ax ; parametro: risultato
mov al, num2
push ax ; parametro: primo num da sommare
mov al, num1
push ax ; parametro: secondo num da sommare
call addizione ; chiamata procedura addizione
pop ax
pop ax
pop tot
; metti qui la stampa del risultato contenuto in tot
mov ah,4Ch
int 21h
addizione proc ; definizione della procedura
push bp
mov bp,sp
par1 equ [bp+4]
par2 equ [bp+6]
par3 equ [bp+8]
mov ax,par1
add ax,par2
mov par3,ax
pop bp
ret
addizione endp ; fine della procedura
end inizio ; fine del programma
Source: didainfo.altervista.org
All those coders who are working on the Whatever based application and are stuck on programma che fa una procedura e somma due parametri assembly can get a collection of related answers to their query. Programmers need to enter their query on programma che fa una procedura e somma due parametri assembly related to Whatever code and they'll get their ambiguities clear immediately. On our webpage, there are tutorials about programma che fa una procedura e somma due parametri assembly for the programmers working on Whatever code while coding their module. Coders are also allowed to rectify already present answers of programma che fa una procedura e somma due parametri assembly while working on the Whatever language code. Developers can add up suggestions if they deem fit any other answer relating to "programma che fa una procedura e somma due parametri assembly". Visit this developer's friendly online web community, CodeProZone, and get your queries like programma che fa una procedura e somma due parametri assembly resolved professionally and stay updated to the latest Whatever updates.