cancel
Showing results for 
Search instead for 
Did you mean: 

ST9 assembly program?

terryhao
Associate II
Posted on September 11, 2003 at 19:47

ST9 assembly program?

4 REPLIES 4
terryhao
Associate II
Posted on May 17, 2011 at 11:34

Dear sir,

I want to use ST9 assebly language to program(don't use C language)

can anyone to provide an example with which I can know how to compile, how to link, how to write interrupt part, etc, just like ST7 example.

Thanks!

terry
sergio2
Associate II
Posted on May 17, 2011 at 11:34

See the Attached file

terryhao
Associate II
Posted on May 17, 2011 at 11:34

Thanks a lot!

I have checked the zip file. Now I have some questions:

1. I must name the assembly soure file with extention .spp,right?

2. Can I use your files with ST92141?

3. In gdata.spp there is no instruction, just for defining some data, right?

4. In define.h and ioinit.h , the programing style of these two file looks very like C style right?

Finally, could you do me a favor to provide the user manual about writing the assembly code of ST9+?

Best Regards,

Terry
sergio2
Associate II
Posted on May 17, 2011 at 11:34

1. Yes

2.- I dont Know, i was use with 92f120

3.- yes

4.- Left them untouched

Finally Download and install the ST9 V6.1.8 Toolchain this will install the manuals too

This toolchain contains a C compiler for ST9, the ST9 Assembler-Linker and an integrated development environment, ST9 Visual Debug which provides the host interface for ST9 emulators (see below). This toolchain should be used if you are working with General Purpose MCUs (ST90158 - ST92F12X - ST92141 - ST92163 - ST92F150 - ST92F250). This release supports the ST92F150-EMU2 and contains the downloader utility for upgrading/reconfiguring most ST9 HDS2V2 emulators