Download presentation

Presentation is loading. Please wait.

Published byMargaret Arlington Modified over 3 years ago

1
Program.-(9)* Write a program Input two numbers from keyboard and multiply of given values using by variables. Input value No 1 input value No2 Multiply of No1 and No2 values Display answer , Multiply of two numbers. Start Input No1 Input No2 Ans =No1 x No2 Display Ans End

2
.model small .stack 100h .data msg1 db 0ah,0dh,"Enter Number in No1 : $" msg2 db 0ah,0dh,"Enter Number in No2 : $" res db 0ah,0dh,"Multiply answer is : " No1 db ? symole1 db " x" No2 db ? symbole2 db "=" Ans db ?," $" .code main proc mov mov ds,ax mov ah,9 lea dx,msg1 int 21h mov ah,1 int 21h sub al,30h mov No1,al mov ah,9 lea dx,msg2 mov No2,al mov al,No1 mul No2 mov Ans,al add Ans,30h

3
add No1,30h add No2,48 mov ah,9 lea dx,res int 21h mov ah,4ch Main endp End main

Similar presentations

OK

Introduction to Computer Engineering by Richard E. Haskell BCD Arithmetic Module M16.5 Section 10.4.

Introduction to Computer Engineering by Richard E. Haskell BCD Arithmetic Module M16.5 Section 10.4.

© 2018 SlidePlayer.com Inc.

All rights reserved.

By using this website, you agree with our use of **cookies** to functioning of the site. More info in our Privacy Policy and Google Privacy & Terms.

Ads by Google

Ppt on email etiquettes presentation skills Ppt on hindu religion gods Ppt on building bye laws Ppt on national education policy 1986 world Ppt on synthesis and degradation of purines and pyrimidines structure Ppt on crash fire tender Ppt on ehv ac dc Fiber post ppt online Ppt on power system harmonics study Download ppt on companies act 2013