Question: Type the following program into your emu8086 ) and pay attention to the Remarks after the semicolons. These lines explain what each step is doing.
Type the following program into your emu8086 ) and pay attention to the Remarks after the semicolons. These lines explain what each step is doing.
When you are finished and the program runs correctly, send me a screen shot of the output, If everything went well you should have the words Hello World displayed in the output box of the emulator program.
Hint: You may have to hit the emulate button and then the RUN button in order to see the display.
.model tiny ;com program Code Data & stack in one 64K Segment .code ;code segment org 100h ; code starts at offset 100h
main proc near ;main procedure start mov ah, 09h ;function to display a string mov dx, offset message ; offset of Message string terminating with $ int 21h ; dos interrupt
mov ah,4ch ;function to terminate mov al,00 int 21h ;Dos interrupt endp message db "Hello World $" ;Message to be terminated
end main
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
