piclist 1998\10\01\193428a >
Thread: Porting code.
face BY : netquake@spam@@innocent.com

I have to port source code from a Motorola MCU (68HC705K1)(16 pin, 8 i/o)
to a PIC
16F84 and I'm really lost (I'm not familiar with Mot. MCU's). Any thoughts,
help or point in the right direction is welcome.

Thank you very much!

P.D.: Source code is fairly short:

0300   BSET 1,000A
0302   LDA  #1
0304   STA  0004
       LDA #0FF
       STA  00E0
       BSET 0,0000
 030F  LDA  0000
       BIT #2
       BEQ  0323
       BIT #4
       BEQ  0328
       CPX #60
       BCS 0321
       STX 00E0
       BSET 0,0000
 0321  RSP
 0323  CLRX
       BSET 0,0000
 0328  INCX
       CPX 00E0
       BCS 0331
 032D  BSET 0,0000
 032F RSP
 0330  WAIT
 0331  LDA  0200,X
       STA  0000
 0338  RTI

"I must not fear. Fear is the mind-killer.
Fear is the little death that brings total
obliteration. I will face my fear... I will
permit it to pass over me and through me."

Kwisatz Haderach - Dune


<065bb33362301a8COMPUSERVE@cpsarg.com> 7bit

See also: www.piclist.com/techref/ios.htm?key=port
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Porting code.

month overview.

new search...