Introduction - If you have any usage issues, please Google them yourself
This is simple ASM code to rotate stepper motor in clockwise motion. You have to attach ULN2003 IC to microcontroller and output of ULN2003 should be attached to Stepper motor. I tested this code with four coil stepper motor. You can create HEX file from this code by compiling in the Keil2 or 3 version with Target device p89V51RDxx microcontroller. There are other code for ADC and LED Interfacing to the 8051 microcontroller.