Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/19/03 11:51
Read: times


 
#50992 - RE: First Step....Mr. Fedia
Responding to: ???'s previous message
Dear Fedia,
Thanks once again for the valuable help you have rendered to me to continue with my
project. I started learning Assembly language couple of days ago, learned little bit about the MACRO.
It may sound stupid question for you but I have to ask it.
Where does this macro fits in this program? When I tried to compile the program with Pinnacle 52 it gave errors, I eleminated _RD Start to test the program.
;with macros: in asm:
_RD Start mov C,Start
_OR K1 orl C,K1
_ANDNOT Stop anl C,/Stop
_ANDNOT OVL anl C,/OVL
_WRT K1 mov K1,C

Plz note that No NPN Transistor is used yet.Only experimenting board is being used to simulate the ON/OFF switches etc.LED is used as a Output.After compiling the undermentioned program following are the observations:


- MOV K1,C .....> It is moving contents of carry bit 22h location of bit addressable RAM ie. 3rd bit of 24th Byte of internal RAM location.
-MOV P2,K1......> Moving contents of 22h of internal RAM to port2 hence, no output is generated. I think
it is a problem between Bit and Byte and I failed to rectify this prob.
Plz note that I need NO and NC contacts of K1 for simulating the alram.
plz write your e-mail address, if you don't mind.
My e mail address is rasu_patial@rediffmail.com


Regards

Rashu



List of 53 messages in thread
TopicAuthorDate
PUT A PLC INTO YOUR MICROCONTROLLER !            01/01/70 00:00      
   RE: PUT A PLC INTO YOUR MICROCONTROLLER !            01/01/70 00:00      
      RE: PUT A into B!            01/01/70 00:00      
         RE: PUT A into B!            01/01/70 00:00      
            RE: PUT A into B!            01/01/70 00:00      
               RE: PUT A into B! Murugan & Rob            01/01/70 00:00      
         RE: PUT A into B!            01/01/70 00:00      
   RE: PUT A PLC INTO YOUR MICROCONTROLLER !            01/01/70 00:00      
      RE: How u did it Mr. Mahmood ?!            01/01/70 00:00      
         RE: How u did it Mr. Mahmood ?!            01/01/70 00:00      
            RE: How about interal relays?            01/01/70 00:00      
               RE: How about interal relays?            01/01/70 00:00      
               RE: How about interal relays?            01/01/70 00:00      
   RE: PUT A PLC INTO YOUR MICROCONTROLLER !            01/01/70 00:00      
   RE: PUT A PLC ... the skinny            01/01/70 00:00      
      RE: PUT A PLC ... the skinny            01/01/70 00:00      
         RE: PUT A PLC ... the skinny            01/01/70 00:00      
            RE: PUT A PLC ... the skinny / Erik            01/01/70 00:00      
   PLC vs Microcontrollers            01/01/70 00:00      
      RE: PLC vs Microcontrollers            01/01/70 00:00      
         RE: I/O Summary            01/01/70 00:00      
            RE: I/O Summary            01/01/70 00:00      
               RE: I/O Summary            01/01/70 00:00      
                  RE: I/O Summary            01/01/70 00:00      
               RE: I/O Summary            01/01/70 00:00      
                  RE: I/O Summary            01/01/70 00:00      
                     RE: First Project            01/01/70 00:00      
                        RE: First Project            01/01/70 00:00      
                           RE: First Project            01/01/70 00:00      
                              RE: First Project            01/01/70 00:00      
                                 RE: First Project            01/01/70 00:00      
                                    RE: First Project            01/01/70 00:00      
                              RE: First Project            01/01/70 00:00      
                                 RE: First Project            01/01/70 00:00      
                                    RE: First Project            01/01/70 00:00      
                                       RE: First Project - no 82c55            01/01/70 00:00      
                              RE: First Project -move forward            01/01/70 00:00      
                                 RE: First Project -move forward            01/01/70 00:00      
               RE: I/O Summary            01/01/70 00:00      
                  RE: I/O Summary            01/01/70 00:00      
      RE: PLC vs Microcontrollers            01/01/70 00:00      
         RE: ladder.inc- Fedia Buznik            01/01/70 00:00      
            RE: ladder.inc- Fedia Buznik            01/01/70 00:00      
               RE: ladder.inc- Fedia Buznik            01/01/70 00:00      
                  RE: ladder.inc- Fedia Buznik            01/01/70 00:00      
   RE: First Step..........            01/01/70 00:00      
      RE: First Step..........            01/01/70 00:00      
         RE: First Step....Mr. Fedia            01/01/70 00:00      
            RE: First Step....Mr. Fedia            01/01/70 00:00      
               RE: First Step....Mr. Fedia            01/01/70 00:00      
                  RE: Boolean Variable Manipulation            01/01/70 00:00      
                     RE: Boolean Variable Manipulation            01/01/70 00:00      
   RE: Thanks!            01/01/70 00:00      

Back to Subject List