A antoni1 New Member Feb 3, 2005 #1 HI Can anyone please tell me what the following are translated in C language? org 0x00 bsf GPIO,WHILED btfsc GPIO,WHIIN got loop1 bcf GPIO,WHIIN incfsz COUNTER1,F movf ALL,F subwf BALL,W bc $+2 decfsz CAT,F thanks
HI Can anyone please tell me what the following are translated in C language? org 0x00 bsf GPIO,WHILED btfsc GPIO,WHIIN got loop1 bcf GPIO,WHIIN incfsz COUNTER1,F movf ALL,F subwf BALL,W bc $+2 decfsz CAT,F thanks
Nigel Goodwin Super Moderator Most Helpful Member Feb 3, 2005 #2 You appear to have the wrong idea?. C code gets compiled into assembler, not the other way round. It's rather like trying to recreate the original eggs from an omelette to create C from assembler - and that's assuming it was written using a C compiler in the first place!.
You appear to have the wrong idea?. C code gets compiled into assembler, not the other way round. It's rather like trying to recreate the original eggs from an omelette to create C from assembler - and that's assuming it was written using a C compiler in the first place!.