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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/23/06 16:00
Read: times


 
#114802 - RE:
Responding to: ???'s previous message
$MOD51 ;I'm using an AT89C51
$DEBUG
$NOPAGING
$PAGEWIDTH(132)
=======================================================================
;Reset Code
=======================================================================
ORG 00H
SJMP INITIAL
=======================================================================
;Initialization Routine/Check LEDs
=======================================================================
ORG 1BH
SETB P2.7 ;Turn on red LED
CLR P2.7 ;Turn off red LED
SETB P2.6 ;Turn on green LED
CLR P2.6 ;Turn off green LED
=======================================================================
;Main Routine
=======================================================================

I would type the rest, I don't think its right. I'm thinking that I should use MOV for pins 1,2,4,5,13,12,10,9, and CJNE for pins 3,6,11,8 because I want it to test the Quad 2input AND,NAND,OR, and XOR. Not sure what should go next like have a sub routine to make sure it peforms an AND, NAND,OR, and XOR when a 00/03, 08/09, 32, or 86 appears to tested. My ideas are somewhat scattered, I am afraid to be wrong.

List of 31 messages in thread
TopicAuthorDate
ASM Language            01/01/70 00:00      
   show us your thought            01/01/70 00:00      
      RE:            01/01/70 00:00      
         Software Design Description SDD            01/01/70 00:00      
   RTFM            01/01/70 00:00      
      Re:            01/01/70 00:00      
   Ok            01/01/70 00:00      
      Re:            01/01/70 00:00      
         two ways            01/01/70 00:00      
            RE;            01/01/70 00:00      
               Keypad - or DIP switch            01/01/70 00:00      
               BCD            01/01/70 00:00      
                  no such thing            01/01/70 00:00      
                     opps            01/01/70 00:00      
         Good for you            01/01/70 00:00      
            Well, Can I Do This!            01/01/70 00:00      
               Your program            01/01/70 00:00      
                  without some selection            01/01/70 00:00      
            It is a start            01/01/70 00:00      
               Oh, hoiw often do we see someone believi            01/01/70 00:00      
                  That or it is just Obvious to them            01/01/70 00:00      
                     and why should they assume it is to us            01/01/70 00:00      
                        SMS ?            01/01/70 00:00      
                           well - careful - yes, definitely with as            01/01/70 00:00      
   Circuit Cellar Built one about 1986            01/01/70 00:00      
   Maybe this will work            01/01/70 00:00      
      Why guessing?            01/01/70 00:00      
         also...stuck at 1 and stuck at 0 faults            01/01/70 00:00      
            RE:            01/01/70 00:00      
               Take it literally            01/01/70 00:00      
               RE:RE:            01/01/70 00:00      

Back to Subject List