Skip to main content
Visitor II
April 14, 2003
Question

RIDE ST6 problem

  • April 14, 2003
  • 2 replies
  • 538 views
Posted on April 14, 2003 at 11:18

RIDE ST6 problem

    This topic has been closed for replies.

    2 replies

    Visitor II
    April 14, 2003
    Posted on April 14, 2003 at 09:32

    Hi,

    I want to emulate my old programs built in AST6/LST6 on the RIDE ST6 software but it wont work... Does anybody know how to do this?

    I use the ST62GP DBE.

    Regards

    Bood
    Visitor II
    April 14, 2003
    Posted on April 14, 2003 at 11:18

    You have one of two methods, either use the ''Use AST6 Syntax'' option in the options/project dialog. This will not work if you use sections though.

    The best method would be to rewrite for RIDE, its not that hard to do.

    1. define data.code section,eg.

    CODESEG SEGMENT CODE

    DATASEG SEGMENT DATA

    then use RSEG to select the current segment.

    2. Use CSEG to declare your interrupt vectors/etc,eg.

    CSEG AT 0ffch

    _nmi: nop reti

    _res: jp reset

    Have a look at AN1369 from this website.

    Regards

    Spen