Download presentation
Presentation is loading. Please wait.
Published byBertina Henderson Modified over 9 years ago
1
Program.-(4)* Write a program for input two integer number with message and display their sum. Algorithm steps Algorithm steps 1.Display message for input first number 2.Input first number 3.Display message for second number 4.Input second number 5.Sum:= first number + second number 6.Display sum
2
Start Sum = first + second Display Message for first number End Display Message for first number Input first number Input Second number Display Sum
3
MOV ah,9 MOV dx,400 INT 21 MOV ah,1 INT 21 SUB al,30 MOV bl, al MOV ah,9 MOV dx,500 INT 21 MOV ah,1 INT 21 SUB al,30 MOV cl, al ADD cl,bl ADD cl,30 MOV ah,9 MOV dx,600 INT 21 MOV ah,2 MOV dl, cl INT 21 INT 20
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.