Question: Prerequisite: TASM assembler Instruction: 1) Type and Save the code below as ???.asm (using Notepad or TASM Editor) 2) Assemble, Build, and Run the code
Prerequisite: TASM assembler Instruction: 1) Type and Save the code below as ???.asm (using Notepad or TASM Editor) 2) Assemble, Build, and Run the code model small stack 100H one code segment and one data segment stack segment data Message db 13, 10, Hello ELET 313 Students; Labg,s ; data segment ; 13 means Carriage Return ; 10 means Line Feed, it pushes next line down , code segment code Hello PROC MOV AX, @data MOV DS, AX MOV DX, OFFSET Message load effective address (lea) of message into DX MOV AH, 9H INT 21H ; move address of data into AX move address of data segment into DS , Call to DOS to print message (ie,string) , Call to DOS to actually read from keyboard or output to the screen MOV AL, 0 MOV AH, 4CH INT 21H ; 4CH is the function code for exiting . Call to DOS to actually read from keyboard or , output to the screen tello ENDP END Hello 3) Submit a comprehensive Lab Report
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
