


Write a program in 8086 Mp to find the product or multiplication of the two numbers. Write a program 8086 Mp to find the sum of the two numbers, print in binary formatĨ. ORG 100h include 'emu8086.inc' LEA SI,msg1 CALL PRINT_STRING CALL scan_num mov ax,cx putc 10 LEA SI,msg2 CALL PRINT_STRING CALL scan_num mov bx,cx putc 10 JMP calc back: JMP stop calc: SUB ax, bx Print "The sum is: " CALL print_num putc 10 putc 13 JMP back stop: RET msg1 DB 'Enter the first number: ',0 msg2 DB 'Enter the second number: ',0 Load effective address to Source Index Pre defined function/moduleĭEFINE_SCAN_NUM DEFINE_PRINT_STRING DEFINE_PRINT_NUM DEFINE_PRINT_NUM_UNS ENDħ. Write a program 8086 Mp to enter two numbers and find the difference. JMP back stop: RET msg1 DB 'Enter the first number: ',0 msg2 DB 'Enter the second number: ',0 DEFINE_SCAN_NUM DEFINE_PRINT_STRING DEFINE_PRINT_NUM DEFINE_PRINT_NUM_UNS END 6. ORG 100h include 'emu8086.inc' LEA SI, msg1 CALL PRINT_STRING CALL scan_num mov ax, cx putc 10 LEA SI, msg2 CALL PRINT_STRING CALL scan_num mov bx, cx putc 10 JMP calc back: JMP stop calc: ADD ax, bx Print "The sum is: " CALL print_num putc 10 putc 13 Pre directive to control the program Include emu8086 header file for functions / procedures Load data to source index calling of print_string procedure to print message calling of scan_num procedure for input value Write a program in 8086 Microprocessor of 8-bit register to find the sum of two integers. Write an assembly language program to display a character with its background color.Ħ. start is the lebel and jmp is the jump instruction Define byte with space allocation in hexadecimalĪd: db "Berhampur",0dh,0ah,24h ph: db "9861329499",0dh,0ah,24h start: mov dx, nam mov ah,09h int 21h mov ah,0 mov dx,ad mov ah,09h int 21h mov ah,0 mov dx,ph mov ah,09h int 21h mov ah,0 int 16h retĥ. name "Sachidananda" org 100h jmp start nam: db "Name: Sachidananda", 0dh,0ah,24h Write an assembly program using 8086mu to print some sequence of texts. directive to stop the compiler Message is printed to the Output Screen Interrupt to the Operating SystemĤ. include emu8086.inc ORG 100h PRINT 'My Name is Sachidananda!' INT 16h GOTOXY 0, 1 PRINT 'From Berhampur' INT 16h GOTOXY 0, 2 PRINT 'Ganjam' INT 16h RET END return to operating system. Write an assembly program to print information by using emu8086.inc and function. directive to stop the compiler Message is printed to the Output Screen Interrupt to the Operating Systemģ.


Write an assembly language programming in 8086 to print the message of multiple lines. include emu8086.inc ORG 100h PRINT 'My Name is Sachidananda!' INT 16h RET END Message is printed to the Output Screen Interrupt to the Operating System return to operating system. Write an assembly language programming in 8086 to print the message. SOLUTION OF THE PROGRAMS USING 8086 ASSEMBLY LANGUAGE (USING EMU 8086 SIMULATOR) 1.
