Presentation is loading. Please wait.

Presentation is loading. Please wait.

CE701 : Lab Practical 1 /bin/tasm.exe /bin/tlink.exe /bin/debug.exe

Similar presentations


Presentation on theme: "CE701 : Lab Practical 1 /bin/tasm.exe /bin/tlink.exe /bin/debug.exe"— Presentation transcript:

1 CE701 : Lab Practical 1 /bin/tasm.exe /bin/tlink.exe /bin/debug.exe
Objective : To explore Assembler, try a sample program and method to execute with various debug options. Requirements : Turbo C compiler with TASM assembler Essential file to execute /bin/tasm.exe /bin/tlink.exe /bin/debug.exe

2 First ASM(Assembly) Program
Editor : Notepad or any text editor File extension : .asm Write an assembly program to perform addition of two numbers. Run a sample assembly program and explore different options of debug commands.

3 Data Segment a db 10h b db 20h Data ends Code Segment Start : Assume CS:Code , ds: Data MOV AX,Data MOV DS, AX MOV AL, a MOV BL, b ADD AL,BL Code ends End Start

4 Compile and execute Compiling C:\tasm a.asm Linking C:\tlink a.obj
Debugging (executing) Press t to continue with line by line execution


Download ppt "CE701 : Lab Practical 1 /bin/tasm.exe /bin/tlink.exe /bin/debug.exe"

Similar presentations


Ads by Google