Shop OBEX P1 Docs P2 Docs Learn Events
SXKEY.exe complains if labels are not in column 1 — Parallax Forums

SXKEY.exe complains if labels are not in column 1

rf98rf98 Posts: 2
edited 2009-07-03 18:55 in General Discussion
Using my sxkey.exe··· (···Help-About says IDE version 3.10· )

I have this problem:· Programs I wrote·3 years ago now have an assembly error:

··· Error 45, Pass 1: Label must begin in column 1

I was able to have the ASM source, including the labels, indented in my previous SX52 and SX48 programs, so why do I now get this error?
The error goes away if I left justify the labels, ·but I have lots of programs with hundreds of lines each, and the indents are very useful for structuring the code.

This always worked before.·

Under Run>Configure I un-checked 'Local labels must start in column 1'.·

Is a Windows XP problem?· ( The programs were previously written and assembled in Windows 98 and Windows ME)
Or perhaps I grabbed an earlier IDE release that did not allow indented labels?

Comments

  • PJMontyPJMonty Posts: 983
    edited 2009-07-02 05:56
    rf98,

    Originally SASM forced you to have labels start in column 1. It was changed in version 1.50 back in 2003 to allow you to have them start in any column.

    I assume you have re-installed the IDE since moving to a new OS. Somewhere along the way that configuration box got un-checked and it didn't become an issue until you tried assembling some older source code. It has nothing to do with XP.

    Thanks,
    PeterM
  • rf98rf98 Posts: 2
    edited 2009-07-02 21:54
    Thanks,· I will do a re-install and during the install process I guess I will be able to make that selection.

    ·· rf98
  • PJMontyPJMonty Posts: 983
    edited 2009-07-03 18:55
    rf98,

    No need to re-install. The configuration option is a runtime option, so if it's working for you now then just use it. There's no harm in a re-install, just no need for one.

    Thanks,
    PeterM
Sign In or Register to comment.