We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I am writing a small C function which is suppose to replace the assembly function My rest code is written in assembly and the assembler (asm51) is used The data declaration is done as
t33 EQU 53H t34 EQU 54H t35 EQU 55H t36 EQU 56H t46 EQU 0A7H
MOV A,t32 CJNE A, #1FH,Chk
t32 DATA 52H t33 DATA 53H t34 DATA 54H t46 DATA 0A7H
extern unsigned char t32;
MOV R0,#t46
small mistake http://www.8052.com/user/ssachin191/firstasm.a51 http://www.8052.com/user/ssachin191/keyboard1.c thanks sachin