Tuesday, April 10, 2012

Steps to execute the Programs on 8086

you need TASM, tlink ,td files to assemble link and create object and exe files for your program. after getting these files create a folder in c drive and name it as bin.
here is a link to download all these files  DOWNLOAD
copy these files in this folder
and now open the command prompt and change the directory to this folder bin.
copy the program and paste it in the notepad.
save it in the bin folder with extension .asm
now type tasm followed by the program name with .asm extension
press enter this will show your errors. correct all these errors then proceed to the next step.
now type tlink followed by the program name with extension .obj
press enter
now type the td followed by the program name with extension .exe
then your program appears in different screen.
press F7 key until you reach the starting address of the program. 
now open the dump window.
and press ctrl+g
then a dialog box will appear. enter the starting address of the program which is typed in the program. for ex 2000h.
then press enter. and close the dialog box.
now continue pressing F7. when the program terminates it shows a dialog box. and the result will be seemed in the dump window

2 comments:

  1. What is a dump window here? Can u explaing in short, thanks in advance.

    ReplyDelete
    Replies
    1. Hi
      Dump window is a window where we can see the values in the memory location. This can be invoked from view menu.

      Delete

DC motor control with Pulse Width Modulation Part 1

DC Motor intro DC motor is a device which converts electrical energy into kinetic energy. It converts the DC power into movement. The typica...