Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - variable data combination

(you are viewing a thread; or go back to list of threads)

variable data combination (by kelvin)
hi,

Is there way to combine these two variables like this:

1st
---|RA0|---------------------------[MOV 2 D0]

2nd
---|RA1|---------------------------[MOV 7 D1]


---[COMBINE D0+D1=>D2]

value in D2=27
Wed Dec 29 2010, 16:03:12
(no subject) (by Jonathan Westhues)
If I understand correctly, that's just arithmetic; you want to set D2 := 10*D0 + D1. Look at the addition and multiplication operations.
Wed Dec 29 2010, 16:21:56
variable data combination (by ANWAR basheer)
hi,

Is there way to combine these two variables like this:

1st
---|RA0|---------------------------[MOV 2 D0]

2nd
---|RA1|---------------------------[MOV 7 D1]


---[COMBINE D0+D1=>D2]

value in D2=27
Mon Jun 13 2011, 10:35:04
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):