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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/07/03 21:22
Read: times


 
#41061 - i think i got it...
Responding to: ???'s previous message

Thanks to all of you firstly for forgiving me and then still replying my post..i don't know how to use the simulator AVS51 but i can feel that the code adjusted according to my need following the path as you all suggested:-

There is no way in the word in could have done with the help from this forum..specially Hal Albach, Félix Díaz & Menno van den Berg ..guys i want to be like you surely in assembly coding but most important i also want to help people up to maximum extend.

Is there any way of copying data from a NOTE PAD into dos edit file from where we can linker and simulator work..as i can open a asm file in note pad but i cannot copy paste from note pad to dos editor...is there any way.. like can i paste the codes from here to the dos editor counter.asm file ?

ORG 00H
MOV R0,#00D; (previous value storage)
MOV P2,#00D (CLEARING MSB DIGIT)
MOV P3,#00D (CLEARING LSB DIGIT)

MONITORING:

NO_NEW_DATA:

MOV R1,P1
CJNE R1,R0,DISPLAY
JMP NO_NEW_DATA

DISPLAY
MOV R0,P1
MOV A,R0
MOV B,#10D
DIV AB
MOV DPTR,#LOOKUP_TABLE
MOVC A,@A+DPTR
MOV P2,A
MOV A,B
MOVC A,@A+DPTR
MOV P3,A
JMP MONITORING

LOOPUP_TABLE:
DB 3Fh
DB 06h
DB 5Bh
DB 4Fh
DB 66h
DB 6Dh
DB 7Dh
DB 07h
DB 7fh
DB 67h


after learning this code i will be asking my main task hardware related question soon but firstly i will make my self and my question clear.. hope to get help on that also :)




List of 12 messages in thread
TopicAuthorDate
any one has better option            01/01/70 00:00      
   RE: any one has better option            01/01/70 00:00      
   RE: still the same ...            01/01/70 00:00      
   RE: any one has better option            01/01/70 00:00      
   RE: any one has better option            01/01/70 00:00      
   RE: any one has better option            01/01/70 00:00      
   RE: any one has better option            01/01/70 00:00      
      RE: any one has better option            01/01/70 00:00      
         RE: any one has better option            01/01/70 00:00      
         RE: any one has better option            01/01/70 00:00      
            i think i got it...            01/01/70 00:00      
   RE: any one has better option            01/01/70 00:00      

Back to Subject List