Posted by admin on Monday, December 14, 2009 · Leave a Comment
What does MOV Command do in Assembley language when using general purpose registers. Actually what does it do anyway and what does each part of the command do. I've seen, MOV r3, #3 .I can't seem to find any reference to it. I'm guessing it's move but move to where.
It depends on the processor architecture (and you haven't said what processor you are talking about! They're all different!) but usually, it takes the form
MOV destination register, source register
which moves something (actually, copies it) from the source register to the destination register. In some assembly languages, the command takes the form
MOV source register, destination register
which looks the same but does it the other way around!
In (at least) ARM assembly language, # means "immediate", i.e. the number to move is not already in a register but part of the instruction; so "MOV R3, #3" would place the number 3 in R3.
Contrast Lighting General Purpose Transformer 120V, SPECTRA-PHYSICS GENERAL PURPOSE CLAMP 1171-0000 350 200 650 L@@K, MOTOR GENERAL PURPOSE 1/2 HP, C-Face , Allen Bradley 700-HT12BA1 Ser A 700-HT GENERAL PURPOSE TUBE BASE TIMING RELAY, Milwaukee 6791-21 General Purpose Screwgun Kit, Telemecanique Square D Disconnect General Purpose Switch Fusible GS1EEU3, 4.5" Turbo Diamond Blade for General Purpose, 10 pcs.--Free Shipping in US!, Dual General-Purpose IC PC Board, TEKTRONIX P6418 GENERAL PURPOSE LOGIC ANALYZER PROBE, SENCON 11H-330-03 General Purpose Can Line Sensor New, C-Line 30532 General Purpose Plastic Sorter Tab Indexe, NSC 2N4238 Switching and General Purpose Transistor in TO- 39 Metal Can, 25 pcs, ACME GENERAL PURPOSE TRANSFORMER CAT#T1-81051 0.5KVA PRIM.-120X240V SEC.-12X24V, ACME GENERAL PURPOSE TRANSFORMER CAT#T-2A-53308-1S 3KVA PRIM.-480V SEC.-208Y/120, Eaton Easy Couple 1" hose 250' p/n H20116BK NEW 200 psi general purpose hose, NEW! SMC GENERAL PURPOSE AIR VALVE NVS4314-0009D, HONEYWELL GENERAL PURPOSE RELAY R8222N 1003 24V NEW, Square D 1S1FIS 1 KVA General Purpose Transformer Used, Gould Shawmut Amp-Trap CS-3 Series General Purpose Fuse A055F2DORO-300E, Super Tape General Purpose Cloth Duct Tape - New - FedEx Expedite Shipping, Champion 1800-3/8 Longboy 3/8-Inch by 18-Inch General Purpose Drill Bit NEW, Morse #34 HSS Slow Spiral General Purpose Jobber Drills, Cleveland #18 Slow Spiral General Purpose Jobber Drills, MPS2907A General Purpose PNP Switching Transistors 50 Pcs, Jackes-Evans controls general purpose valve for Carrier. EF-11CM-182 valve, TO-92 General Purpose DIP NPN Transistors 2N3904 100 Pcs, 20 Pcs MPS2907A General Purpose DIP PNP Switch Transistors 60V, 50 x S9012 40V 500mA 0.625W General Purpose Transistors, A42 TO-92 General Purpose NPN Bipolar Transistors 50 Pcs, 3M 37102CR Scotch General Purpose Packing Tape, 3M 234-1-1/2 Scotch General Purpose Masking Tape, 3M 234-3/4 Scotch General Purpose Masking Tape, 3M 234-2 General Purpose Masking Tape Adhesive Tape, 3 x 2N2222A NPN General Purpose & RF Transistors _qd017, JQX-10F 2Z AC 220V Coil General Purpose Relay DPDT 8 Pin w PF083A Socket Base, 10x Dual General Purpose Operational Amplifier LM358AN ST, 1/2 Jobber Length General Purpose HSS Black Oxide Drill NEW Chicago Latrobe, 29/64 Jobber Length General Purpose HSS Black Oxide Drill NEW Chicago Latrobe, DeWalt General Purpose Chop Saw Wheels 14"x7/64"x1" for Metal - Master Pack 10p, 10 OMRON General Purpose PCB Electromagnetic Power Relay G2R-2 24V 8pin DPDT, Alco Controls Solenoid General Purpose Valve 240RA9T5T, RUBBER ROLL GENERAL PURPOSE .032"X3.00"X20FT20 FEET , ICE MACHINE WATER VALVE-FLOAT ASSY *General Purpose, 2 OMRON General Purpose PCB Electromagnetic Power Relay G2R-2 12V 8pin DPDT, BRAND NEW CRAFTSMAN PROFESSIONAL CARBINE TIP 10" X 40T GENERAL PURPOSE SAW BLADE, ASHCROFT B461B XFMFS07 15AMP 125/250VAC GENERAL PURPOSE PRESSURE SWITCH, 3M 610 Black 6" x 24" General Purpose Tread (Pack of 50)*, 10 OMRON General Purpose PCB Electromagnetic Power Relay G2R-2 12V 8pin DPDT, LUTRON SC-1PS-BI BISCUIT 15AMP SINGLE POLE GENERAL PURPOSE SWITCH NIB!, 15 OMRON General Purpose PCB Electromagnetic Power Relay G2R-2 24V 8pin DPDT,