Date sent: Wed, 12 Jan 2000 04:36:51 -0800 Send reply to: pic microcontroller discussion list From: <1502amc@LO.SCSENG.COM> Subject: Re: translating 68hc code to pic16f84 To: PICLIST@MITVMA.MIT.EDU Ok. Sorry for being vague, now i realize there are big differences among members of the family. The processor used was a 68HC705J1a. I am trying to port the code From this To pic 16F84. The mnemonics i can guess are lda--load something cmp--compare something jmp--some sort of goto bset--bit set more or less bsf bclr---clear bit brclr--branch if clear sub--subtract inc--increment the ones i cant guess are txa jsr rts--rats? beq sta--??static variable??more or less an equate? bhs nega--negate? blo---branch low?? bpl--some sort of conditional branch? bne--branch not equal? ldx adc sbc I probably missed a few but you see the idea. All i Ihink i need (she said, not knowing any better) are the translations of the mnemonics, the code isnt all that complex as far as i can see. thanks alice