Truncated match.
PICList
Thread
'translating 68hc code to pic16f84'
2000\01\11@200028
by
Alice Campbell
Hello all,
can somebody bilingual provide a list of mnemonics for the
motorola series? im translating a program (low-cost voice
recognition, circuit cellar, feb 1991) and i am having a hard time
puzzling out some of the code.
thanks,
alice
2000\01\12@074307
by
Tom Handley
Alice, if that's a 68HC11, get the Motorola "M68HC11 Reference
Manual". Mine is old but the part # is:
M68HC11RM/AD REV 3
- Tom
At 12:08 AM 1/11/00 PST, Alice Campbell wrote:
{Quote hidden}>Hello all,
>
>can somebody bilingual provide a list of mnemonics for the
>motorola series? im translating a program (low-cost voice
>recognition, circuit cellar, feb 1991) and i am having a hard time
>puzzling out some of the code.
>
>thanks,
>alice
------------------------------------------------------------------------
Tom Handley
New Age Communications
Since '75 before "New Age" and no one around here is waiting for UFOs ;-)
2000\01\12@083903
by
Terry A. Steen
|
Are you trying to translate form PIC to 68hc00? There are HUGE differences.
Terry
At 12:08 AM 1/11/2000 PST, you wrote:
{Quote hidden}>Hello all,
>
>can somebody bilingual provide a list of mnemonics for the
>motorola series? im translating a program (low-cost voice
>recognition, circuit cellar, feb 1991) and i am having a hard time
>puzzling out some of the code.
>
>thanks,
>alice
>
>
-----------------------------------------------------------------
Sent from the desk of:
Terry Allen Steen, EE spam_OUTengineeringTakeThisOuT
marinapower.com
332 McLaws Circle, Ste 111 757-258-8800 (Voice)
Williamsburg, Va 23185 757-258-8805 (FAX)
-----------------------------------------------------------------
!I AM A WHALE MAIL USER! If you have a large file to send, goto
http://www.whalemail.com send them to: mplengineer
Give me your account and I will use it also
-----------------------------------------------------------------
Visit our web-site: http://www.marinapower.com
-----------------------------------------------------------------
2000\01\12@093756
by
Thomas C. Sefranek
Alice Campbell wrote:
> Hello all,
>
> can somebody bilingual provide a list of mnemonics for the
> motorola series? im translating a program (low-cost voice
> recognition, circuit cellar, feb 1991) and i am having a hard time
> puzzling out some of the code.
>
> thanks,
> alice
It would be better if you specified WHICH Motorola processor
you are interested in.
--
Thomas C. Sefranek WA1RHP
ARRL Instructor, Technical Specialist, VE Contact.
http://www.harvardrepeater.org
http://hamradio.cmcorp.com/inventory/Inventory.html
2000\01\12@094003
by
Thomas C. Sefranek
"Terry A. Steen" wrote:
> Are you trying to translate form PIC to 68hc00? There are HUGE differences.
It's particularly difficult as there is NO MC68HC00!
(Did you mean MC6800 or MC68HC11?)
{Quote hidden}>
>
> Terry
>
> At 12:08 AM 1/11/2000 PST, you wrote:
> >Hello all,
> >
> >can somebody bilingual provide a list of mnemonics for the
> >motorola series? im translating a program (low-cost voice
> >recognition, circuit cellar, feb 1991) and i am having a hard time
> >puzzling out some of the code.
> >
> >thanks,
> >alice
> >
> >
> -----------------------------------------------------------------
> Sent from the desk of:
> Terry Allen Steen, EE
.....engineeringKILLspam
@spam@marinapower.com
> 332 McLaws Circle, Ste 111 757-258-8800 (Voice)
> Williamsburg, Va 23185 757-258-8805 (FAX)
> -----------------------------------------------------------------
> !I AM A WHALE MAIL USER! If you have a large file to send, goto
>
http://www.whalemail.com send them to: mplengineer
> Give me your account and I will use it also
> -----------------------------------------------------------------
> Visit our web-site:
http://www.marinapower.com
> -----------------------------------------------------------------
--
Thomas C. Sefranek WA1RHP
ARRL Instructor, Technical Specialist, VE Contact.
http://www.harvardrepeater.org
http://hamradio.cmcorp.com/inventory/Inventory.html
2000\01\12@094814
by
Terry A. Steen
|
What I meant was 68xx, it is an entire family based on the same code
masking and register structure.
At 09:38 AM 1/12/2000 -0500, you wrote:
{Quote hidden}>"Terry A. Steen" wrote:
>
>> Are you trying to translate form PIC to 68hc00? There are HUGE differences.
>
>It's particularly difficult as there is NO MC68HC00!
>(Did you mean MC6800 or MC68HC11?)
>
>>
>>
>> Terry
>>
>> At 12:08 AM 1/11/2000 PST, you wrote:
>> >Hello all,
>> >
>> >can somebody bilingual provide a list of mnemonics for the
>> >motorola series? im translating a program (low-cost voice
>> >recognition, circuit cellar, feb 1991) and i am having a hard time
>> >puzzling out some of the code.
>> >
>> >thanks,
>> >alice
>> >
>> >
>> -----------------------------------------------------------------
>> Sent from the desk of:
>> Terry Allen Steen, EE
engineering
KILLspammarinapower.com
>> 332 McLaws Circle, Ste 111 757-258-8800 (Voice)
>> Williamsburg, Va 23185 757-258-8805 (FAX)
>> -----------------------------------------------------------------
>> !I AM A WHALE MAIL USER! If you have a large file to send, goto
>>
http://www.whalemail.com send them to: mplengineer
>> Give me your account and I will use it also
>> -----------------------------------------------------------------
>> Visit our web-site:
http://www.marinapower.com
>> -----------------------------------------------------------------
>
>--
>Thomas C. Sefranek WA1RHP
>ARRL Instructor, Technical Specialist, VE Contact.
>
http://www.harvardrepeater.org
>
http://hamradio.cmcorp.com/inventory/Inventory.html
>
>
-----------------------------------------------------------------
Sent from the desk of:
Terry Allen Steen, EE .....engineeringKILLspam
.....marinapower.com
332 McLaws Circle, Ste 111 757-258-8800 (Voice)
Williamsburg, Va 23185 757-258-8805 (FAX)
-----------------------------------------------------------------
!I AM A WHALE MAIL USER! If you have a large file to send, goto
http://www.whalemail.com send them to: mplengineer
Give me your account and I will use it also
-----------------------------------------------------------------
Visit our web-site: http://www.marinapower.com
-----------------------------------------------------------------
2000\01\12@094816
by
Terry A. Steen
|
And, there did used to be a MC6800, MC68C00, and even a 68B00
At 09:38 AM 1/12/2000 -0500, you wrote:
{Quote hidden}>"Terry A. Steen" wrote:
>
>> Are you trying to translate form PIC to 68hc00? There are HUGE differences.
>
>It's particularly difficult as there is NO MC68HC00!
>(Did you mean MC6800 or MC68HC11?)
>
>>
>>
>> Terry
>>
>> At 12:08 AM 1/11/2000 PST, you wrote:
>> >Hello all,
>> >
>> >can somebody bilingual provide a list of mnemonics for the
>> >motorola series? im translating a program (low-cost voice
>> >recognition, circuit cellar, feb 1991) and i am having a hard time
>> >puzzling out some of the code.
>> >
>> >thanks,
>> >alice
>> >
>> >
>> -----------------------------------------------------------------
>> Sent from the desk of:
>> Terry Allen Steen, EE
EraseMEengineeringspam_OUT
TakeThisOuTmarinapower.com
>> 332 McLaws Circle, Ste 111 757-258-8800 (Voice)
>> Williamsburg, Va 23185 757-258-8805 (FAX)
>> -----------------------------------------------------------------
>> !I AM A WHALE MAIL USER! If you have a large file to send, goto
>>
http://www.whalemail.com send them to: mplengineer
>> Give me your account and I will use it also
>> -----------------------------------------------------------------
>> Visit our web-site:
http://www.marinapower.com
>> -----------------------------------------------------------------
>
>--
>Thomas C. Sefranek WA1RHP
>ARRL Instructor, Technical Specialist, VE Contact.
>
http://www.harvardrepeater.org
>
http://hamradio.cmcorp.com/inventory/Inventory.html
>
>
-----------------------------------------------------------------
Sent from the desk of:
Terry Allen Steen, EE engineering
spam_OUTmarinapower.com
332 McLaws Circle, Ste 111 757-258-8800 (Voice)
Williamsburg, Va 23185 757-258-8805 (FAX)
-----------------------------------------------------------------
!I AM A WHALE MAIL USER! If you have a large file to send, goto
http://www.whalemail.com send them to: mplengineer
Give me your account and I will use it also
-----------------------------------------------------------------
Visit our web-site: http://www.marinapower.com
-----------------------------------------------------------------
2000\01\12@100302
by
Marcelo Yamamoto
Thomas wrote:
>"Terry A. Steen" wrote:
>
>> Are you trying to translate form PIC to 68hc00? There are HUGE
differences.
>
>It's particularly difficult as there is NO MC68HC00!
>(Did you mean MC6800 or MC68HC11?)
Or MC68HC05 or MC68HC08 :-)
Marcelo
2000\01\12@120733
by
Alice Campbell
|
Date sent: Wed, 12 Jan 2000 04:36:51 -0800
Send reply to: pic microcontroller discussion list <@spam@PICLISTKILLspam
MITVMA.MIT.EDU>
From: <KILLspam1502amcKILLspam
LO.SCSENG.COM>
Subject: Re: translating 68hc code to pic16f84
To: RemoveMEPICLISTTakeThisOuT
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
2000\01\12@121605
by
Tim Hamel
In a message dated 1/12/00 9:08:14 AM Pacific Standard Time,
spamBeGone1502amcspamBeGone
LO.SCSENG.COM writes:
> the ones i cant guess are
> txa
Transfer Index Register to Accumlator
> jsr
Jump to Subroutine
> rts--rats?
Return from Sub
> beq
Branch if Equal
> sta--??static variable??more or less an equate?
Store Accumlator
> bhs
Branch if >=
> nega--negate?
Yes, you're right, in this case, Negate Accumlator
> blo---branch low??
Branch if Lower
> bpl--some sort of conditional branch?
Branch if Plus
> bne--branch not equal?
El Correcto
> ldx
Load Index Register from Memory
> adc
Add with Carry
> sbc
Subtract with Carry
>
> 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
>
If you need anymore just ask! =)
Regards,
Tim Hamel
2000\01\12@130528
by
Thomas C. Sefranek
Alice Campbell wrote:
> Date sent: Wed, 12 Jan 2000 04:36:51 -0800
> Send reply to: pic microcontroller discussion list <TakeThisOuTPICLISTEraseME
spam_OUTMITVMA.MIT.EDU>
> From: <RemoveME1502amc
TakeThisOuTLO.SCSENG.COM>
> Subject: Re: translating 68hc code to pic16f84
> To: PICLISTEraseME
.....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
Load Accumulator A with (You specify, memory, immediate, etc)
(MOV)
> cmp--compare something
Compare (You missed an argument) A or B with memory (Again you specify)
> jmp--some sort of goto
Long range GOTO
> bset--bit set more or less bsf
Multiple Bit(s) Set in (You specify which bit(s) and which memory)
> bclr---clear bit
Same as above, except clear the bit.
> brclr--branch if clear
You specify where to branch to and which bits to test where.
> sub--subtract
Subtract A or B form memory
>
> inc--increment
A,B,memory
>
> the ones i cant guess are
> txa
Transfer the X register to accumulator A
>
> jsr
Jump to Subroutine
>
> rts--rats?
Return from subroutine
>
> beq
Branch if equal to zero
>
> sta--??static variable??more or less an equate?
Store Accumulator A to memory
>
> bhs
Branch if higher or same
>
> nega--negate?
Negate accumulator A
>
> blo---branch low??
Branch if lower
>
> bpl--some sort of conditional branch?
Branch if plus
>
> bne--branch not equal?
Branch if not equal to zero
>
> ldx
Load register X
>
> adc
Add with carry
>
> sbc
Subtract with carry
>
>
> 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.
>
This stuff is all available from motorola.
>
> thanks
> alice
--
Thomas C. Sefranek WA1RHP
ARRL Instructor, Technical Specialist, VE Contact.
http://www.harvardrepeater.org
http://hamradio.cmcorp.com/inventory/Inventory.html
2000\01\12@132850
by
Rich Leggitt
Hi Alice, check http://www.mcu.motsps.com/tutorial
On Wed, 12 Jan 2000, Alice Campbell wrote:
> The processor used was a 68HC705J1a. I am trying to port the code
> From this To pic 16F84.
2000\01\12@133901
by
Nick Taylor
|
Hi Alice,
The Motorola doc that you need is: MC68HC705J1A/D
Motorola provides their docs free, and they may be ordered at:
http://www.mot-sps.com/home/lit_ord.html
Here are a couple of other Motorola doc links:
http://mot-sps.com/books/current.html
http://www.mot-sps.com/lit/ldc_inv.html
Hope that this helps,
- Nick -
Alice Campbell wrote:
{Quote hidden}>
> Date sent: Wed, 12 Jan 2000 04:36:51 -0800
> Send reply to: pic microcontroller discussion list <
EraseMEPICLIST
MITVMA.MIT.EDU>
> From: <
RemoveME1502amcEraseME
EraseMELO.SCSENG.COM>
> Subject: Re: translating 68hc code to pic16f84
> To:
RemoveMEPICLISTspam_OUT
KILLspamMITVMA.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
2000\01\12@135151
by
John Pfaff
2000\01\12@145357
by
Barry King
|
> 68HC705J1a. I am trying to port the code From this To pic 16F84.
Of the "6805" clan. OK:
The equivalent of the PIC W register is the A register on the 6805.
> txa Transfer X register to A
There is a register called X (roughly equivament to FSR on the PIC)
> jsr Jump to SubRoutine
> rts ReTurn form Subroutine
> beq Branch if EQual to zero (i.e. branch if Z set)
(The conditional branch mnemomics make the most sense after a
cmp instruction, which is really a subtract)
> sta Store A to RAM
> bhs Branch if Higher or Same
(BHS is the same as Branch if Carry Clear, BCC)
> neg NEGate (twos complement)
> blo Branch if Lower (same as Branch if Carry Set, BCS)
> bpl Branch if PLus
> bne Branch is Not Equal
> ldx Load X register
> adc ADd with Carry (A = A + C + argument)
> sbc SuBtract with borrow (in Carry)
I'd send the datasheet, but I have only hard copy of the docs. The
Motorola WWW site should have it, they still push 68705s.
------------
Barry King, KA1NLH
Engineering Manager
NRG Systems "Measuring the Wind's Energy"
Hinesburg, Vermont, USA
http://www.nrgsystems.com
2000\01\12@222708
by
dpharris
|
My best guesses from years ago....
Alice Campbell wrote:
{Quote hidden}> Date sent: Wed, 12 Jan 2000 04:36:51 -0800
> Send reply to: pic microcontroller discussion list <
RemoveMEPICLISTTakeThisOuT
spamMITVMA.MIT.EDU>
> From: <
EraseME1502amcspam
spamBeGoneLO.SCSENG.COM>
> Subject: Re: translating 68hc code to pic16f84
> To:
RemoveMEPICLISTKILLspam
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
jump to subroutine
>
> rts--rats?
return from subroutine
>
> beq
branch always
>
> sta--??static variable??more or less an equate?
store accumulator
>
> bhs
>
> nega--negate?
> blo---branch low??
> bpl--some sort of conditional branch?
branch plus
>
> bne--branch not equal?
> ldx
load x register (used for offset addressing)
>
> adc
add with carry
>
> sbc
subtract with carry
>
>
> 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
2000\01\13@044115
by
Russell McMahon
1. Somewhere I have an even older 6800 / 6802 program listing for speech
recognition.
Could probably find it.
2. the ones i cant guess are
txa
jsr kump subroutine
rts return from subroutine
beq branch if result of last test was zero (zero flag set)
sta- store a accumultor to ...
bhs possibly - branch if half carry flag set (used for eg bcd
arithmetic)
nega- -negate? Yes
blo---branch low?? - probably
bpl-- some sort of conditional branch?
bne--branch not equal? YES
ldx load index register with ...
adc add with carry bit
sbc subtract with carry bit
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
2000\01\13@072227
by
- KITS EDUCACIONAIS NACIONAIS
Alice Campbell wrote:
>
> Hello all,
>
> can somebody bilingual provide a list of mnemonics for the
> motorola series? im translating a program (low-cost voice
> recognition, circuit cellar, feb 1991) and i am having a hard time
> puzzling out some of the code.
>
> thanks,
> alice
I think that you know that there is a voice recognizer (SENSORY)...(low
cost)
2000\01\13@203451
by
Adam Mead
>Alice Campbell wrote:
>>
>> Hello all,
>>
>> can somebody bilingual provide a list of mnemonics for the
>> motorola series? im translating a program (low-cost voice
>> recognition, circuit cellar, feb 1991) and i am having a hard time
>> puzzling out some of the code.
>>
>> thanks,
>> alice
>I think that you know that there is a voice recognizer (SENSORY)...(low
>cost)
>
Yup, got one of those, works great! Cost me $50
Adam Mead
2000\01\14@104853
by
WF
U$50????????????
----------
{Quote hidden}> De: Adam Mead <
adamSTOPspam
spam_OUTPLE.COM.AU>
> Para:
spamBeGonePICLISTSTOPspam
EraseMEMITVMA.MIT.EDU
> Assunto: Re: translating 68hc code to pic16f84
> Data: Quinta-feira, 13 de Janeiro de 2000 23:22
>
> >Alice Campbell wrote:
> >>
> >> Hello all,
> >>
> >> can somebody bilingual provide a list of mnemonics for the
> >> motorola series? im translating a program (low-cost voice
> >> recognition, circuit cellar, feb 1991) and i am having a hard time
> >> puzzling out some of the code.
> >>
> >> thanks,
> >> alice
> >I think that you know that there is a voice recognizer (SENSORY)...(low
> >cost)
> >
> Yup, got one of those, works great! Cost me $50
>
> Adam Mead
More... (looser matching)
- Last day of these posts
- In 2000
, 2001 only
- Today
- New search...