Google

Feb 27, 2008

Assembly Language Source Codes

Here is the list of programs in assembly language with complete source code is provided

Assembler Source Code for emu8086 microprocessor emulator and compatible assemblers (16 bit) simply copy these codes and past them on your editor

http://www.emu8086.com/dr/asm2html/assembler_source_code/

it contains list of programs like
  • Input 8 bit binary number and print out its decimal equivalent.
  • This is a very basic example of a tiny OS. Your own Operating System that runs from floppy drive - easy!
  • This example shows how to add huge unpacked BCD numbers
  • Calculate the sum of elements in V1 array, store result in V2.
  • How CMP instruction sets the flags.
  • See how to operate with Octal, Binary and Decimal values.
  • Learn how to set and get file attributes, in other words how to make file Read Only or Hidden.
  • This is an example of AAS instruction, it is used to subtract huge BCD numbers.
  • This sample gets two numbers from the user, calculates the sum of these numbers, and prints it out.
  • This sample shows how to use CMPSW instruction to compare strings.
  • Make your own interrupts - Custom_Interrupt.asm
  • Encryption in Assembly Language
  • This sample gets the number from the user, and calculates factorial for it. Supported input from 0 to 8 inclusive!
  • Call a procedure from another segment or interrupt.
  • This program calculates linear equation: ax + b = 0 The result is printed with floating point.
  • This example prints out The easiest and the fastest way to print "Hello World!" using DOS INT 21h (still works under Windows XP in Dos prompt).
  • This example converts 2 digit Hex value into numeric value and decimal string representation (so that it can be easily printed if required).
  • Keyboard example - keybrd.asm
  • A very handy code that can be assembled into a very tiny utility to make floppy boot records and tiny operating systems.
  • This sample shows the use of input and output string functions of emu8086.inc
  • This sample shows how to use SCASW instruction to find a WORD (2 bytes).
You might be also interested in:
:: Temperature Control system using 8086
:: Traffic light control system using 8086
:: Assembly Language Program to serve NMI

No comments: