Download presentation
Presentation is loading. Please wait.
Published byЛеонид Руднев Modified over 5 years ago
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
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.