Jul 05

Tasm  : - The Turbo Assembler (TASM) mainly PC-targeted assembler package was Borland’s offering in the x86 assembler programming tool market. As one would expect, TASM worked well with Borland’s high-level language compilers for the PC, such as Turbo Pascal, Turbo Basic and Turbo C .

Download Assembler :From Here

  • Extract it to any drive you want ex :- c: or d:

I am using it on d:  so i will provide the rest of the tutorial by using d:

What we need, is to make .asm file in Tasm Directory with an editor like notepad.

Then  follow the steps   :-

  • Go to-> Command Prompt
  • D:\  (The Drive in which you extract the downloaded content)
  • cd  Tasm
  • Tasm  Filename.asm
  • Tlink  Filename
  • Filename

That’s it.

written by Puneet

Jul 05

Architecture of Intel 8086

written by Puneet

Jul 05

Data Movement Instructions : -

MOV Move Data; Intel 80×86; move a byte (8 bits), word (16 bits), or doubleword (32 bits) of data; memory to register, register to memory, or register to register (cannot move data from memory to memory or from segment register to segment register); does not affect flags.

Code :-

Mov Dest, Source

Example :-

Mov ah,01h

XCHG Exchanges the contents of the destination (first) and source (second) operands. The operands can be two general-purpose registers or a register and a memory location.

Code :

XCHG  register,memory

XCHG  register,register

XCHG  memory,register

XCHG  memory,memory

Example :-

XCHG AX,BX

Operations :-

TEMP DEST
DEST SRC
SRC TEMP

Flags Affected :-

None.

written by Puneet