??? 05/06/09 16:22 Read: times |
#165111 - Deciphering non-commented code from previous programmer! |
I am new to the 8051 micro. I have been given a project that has mixed C and assembly code. I am in the process of deciphering the code and commenting it for the future. So far everything has went smoothly, besides one small line of code that I just don't quite understand. I hope someone can shed some light for me.
RV120: MOV A,yerror ;put value of variable yerror into accumulator A MOV B,#0 ;put 0x00 into B MOV R3,#59 ;put 0x3B into register R3 MOV R4,#0 ;put 0x00 into register R4 LCALL ?ugt ;call subroutine (not sure what ?ugt is) JNZ RV123 ;jump to RV123 if accumulator A is not zero LJMP RV122 ;else long jump to RV122 Can someone explain to me what this line is doing? I am not familiar with this at all. LCALL ?ugt Thanks in advance. -John |
Topic | Author | Date |
Deciphering non-commented code from previous programmer! | 01/01/70 00:00 | |
Probably helper function from your C RTL. | 01/01/70 00:00 | |
commenting better later on | 01/01/70 00:00 | |
this is for u | 01/01/70 00:00 | |
1)wrong, 2) irrelevant | 01/01/70 00:00 | |
huh? | 01/01/70 00:00 | |
Your puzzlement is justified! | 01/01/70 00:00 | |
Thank you![]() | 01/01/70 00:00 |