Reply by peter May 17, 20052005-05-17
Hi,
try this for assembly and testing (free HC11 simulator):
http://mypage.bluewin.ch/a-z/peter_bruenisholz/

Regards
Peter

Reply by Paul E. Bennett May 15, 20052005-05-15
Mickey wrote:

> Hi, > > I am writing to ask if anyone knows how to hand assemble a simple > 68HC11 program? > My problem is getting the op code. > I am using the standard instruction set. > I know that you have to count the number of CPU cycles for each > instruction. > > Does anybody know of a good tutorial on this?
I have always found the Leventhal books very good on such topics. However, if you already have the instruction set to hand (in the datasheets for the processor) you just need to take note of how many bytes each instruction occupies so that you can calculate the next instruction addresses. Be sure to count the negative direction properly too (when doing jumps back to the start of a loop). -- ******************************************************************** Paul E. Bennett ....................<email://peb@amleth.demon.co.uk> Forth based HIDECS Consultancy .....<http://www.amleth.demon.co.uk/> Mob: +44 (0)7811-639972 Tel: +44 (0)1235-811095 Going Forth Safely ....EBA. http://www.electric-boat-association.org.uk/ ********************************************************************
Reply by Spehro Pefhany May 15, 20052005-05-15
On 15 May 2005 07:05:51 -0700, the renowned "Mickey"
<mickey.allroid@gmail.com> wrote:

>Hi, > >I am writing to ask if anyone knows how to hand assemble a simple >68HC11 program? >My problem is getting the op code.
Read this: http://www.ee.ryerson.ca:8080/~jkoch/data_pdf/hc11rm.pdf Best regards, Spehro Pefhany -- "it's the network..." "The Journey is the reward" speff@interlog.com Info for manufacturers: http://www.trexon.com Embedded software/hardware/analog Info for designers: http://www.speff.com
Reply by Leon Heller May 15, 20052005-05-15
"Mickey" <mickey.allroid@gmail.com> wrote in message 
news:1116165951.360742.37660@f14g2000cwb.googlegroups.com...
> Hi, > > I am writing to ask if anyone knows how to hand assemble a simple > 68HC11 program? > My problem is getting the op code. > I am using the standard instruction set. > I know that you have to count the number of CPU cycles for each > instruction.
You need to know the number of bytes for each instruction, not the number of clock cycles, so that you can write down the address of each instruction. Why not use an assembler, it's much easier? Leon
Reply by Mickey May 15, 20052005-05-15
Hi,

I am writing to ask if anyone knows how to hand assemble a simple
68HC11 program?
My problem is getting the op code.
I am using the standard instruction set.
I know that you have to count the number of CPU cycles for each
instruction.

Does anybody know of a good tutorial on this?

Thanks,
Mickey