answersLogoWhite

0


Best Answer

As port A is used as an output port, control word for 8255 is 80H.

Stepper Motor Control Program:

6000H Excite code DB 03H, 06H,09H, OCH : This is the code sequence for clockwise rotation

Subroutine to rotate a stepper motor clockwise by 360° - Set the counts:

  • MVI C, 32H : Set repetition count to 50ıο
  • START: MVI B, 04H : Counts excitation sequence
  • LXI H, 6000H : Initialize pointer
  • BACK1: MOV A, M : Get the Excite code
  • OUT PORTA : Send Excite code
  • CALL DELAY : Wait
  • INX H : Increment pointer
  • DCR B : Repeat 4 times
  • JNZ BACK l

Delay Subroutine:

  • Delay: LXI D, Count
  • Back: DCX D
  • MOV A, D
  • ORA E
  • JNZ Back
  • RET
User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

Write an ALP in 8086 to rotate the stepper motor 45 degree in clockwise direction in half step

mode and 90 degree in anticlockwise direction in full step mode using 8255.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the assembly language program for 8085 interfacing of stepper motor to rotate it clockwise and anticlockwise direction using 8255?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Does the tool need to be turned counterclockwise or clockwise when removing water pump?

A radiator cooling fan assembly attached to a water pump via a thread will always be tightened by the natural rotational direction by the fan...For example - If the fan rotates in a 'clockwise' direction, the thread holding it on will be 'left-handed'; it follows that a fan spinning 'anticlockwise' will have a 'right-handed' thread.


What direction does the bolt between fan clutch and water pump assembly turn on dodge truck 2007?

The fan clutch on a 2007 Dodge Ram is turned clockwise to tighten, counter clockwise to loosen.


Which way do you rotate the rear right axle nut on a 1998 Nissan maxima to loosen?

undo anti clockwise direction,they are very tight, I have just replaced the right rear bearing hub assembly.


How do you remove headlight bulb Mitsubishi Galant es?

Open hood, look at headlamp assembly. There will be large white/tan cover. Turn cover clockwise to remove. Turn the headlamp assembly c-clockwise and remove.


What has the author Ambrose Barry written?

Ambrose Barry has written: '68000 Assembly Language, Programming And Interfacing' -- subject(s): Computer interfaces, Motorola 68000 (Microprocessor), Programming


How do you replace headlight bulbs on a 99 Tahoe?

First open the hood and locate the 5mm studs in front of the headlight you wish to replace. Remove the studs and gently pull out the headlight assembly. Remove the headlight assembly by twisting the connectors counter-clockwise. Remove the old bulbs from the assembly and replace with the new bulbs. Reconnect the assembly by attaching the connectors and twisting clockwise. Reinsert the assembly and and attach with the 5mm studs. Close the hood.


On a 1999 Plymouth Voyager Is the nut on the wheel hub assembly reverse threaded?

No. Counter clockwise to loosen.


How do you change a turn signal bulb on a Toronado Trofeo?

First pull out the plastic socket out of the blinker assembly from either the front or back of your car. Turn the bulb in a counter clockwise direction while you push down on the bulb. Install the new bulb in reverse order.


How do you change a 1993 ford aerostar brake light bulb?

Open the rear hatch door. 1. Remove the 4 screws holding the lens assembly to the vehicle. It may have a silicone or a sealer holding it in place, so if it does, slowly pull the assembly towards you as you cut away anything holding it in place after the screws are removed. 2. You can now remove the bulb assembly by holding firm the lamp assembly and twist counter clock wise the bulb socket then pulling straight out from the lamp assembly. 3. To remove the bulb socket from the lamp assembly, push in on the bulb, and twist it clockwise while pulling on it. The bulb should now be removed. 4. Insert new bulb, twist clockwise to lock it into place. 5. Insert the bulb and socket assembly into the lens assembly and twist the socket clockwise to lock it. 6. Reinstall the lens assembly, then tighten lens assembly screws. Test lights.


How do you replace the headlight bulb located on the passenger side of a 1994 thunder bird?

Reach behind the light assembly and unplug the connector, using a screwdriver to hold the clip out of the way. Turn counter-clockwise to remove the assembly. Push in and counter-clockwise to remove the bulb. Installation is opposite. From my HAYNES manual.


How do you take the fan assembly off a 97 ford F350 powerstroke?

fan assembly is removed with special tools made to fit the fan hub.also note that the fan assembly has a left hand thread so it needs to be loosened clockwise


How do you replace the fuel pump located on a 1992 Buick Roadmaster?

The pump will be a Weldon style pump in the fuel tank. The tank will have to be dropped. The pump and pickup assembly comes out the top of the tank by removing the large circular clip on the top of the tank. This retaining clip is removed by rotating it in a counter clockwise direction. Once the pump assembly is out, it is pretty self explainatory to replace. then reinstallin the pump into the tank, make sure that the float assembly is free and not caught in anything.