Author Topic: error says no code  (Read 3420 times)

shankle

  • Member
  • ****
  • Posts: 868
error says no code
« on: June 05, 2014, 09:21:36 PM »
Running windows 7 pro and the program code is there.
Using Notepad++ as an editor. Could this editor cause the problem?

What does the attached file error code mean??
Please help.

dedndave

  • Member
  • *****
  • Posts: 8828
  • Still using Abacus 2.0
    • DednDave
Re: error says no code
« Reply #1 on: June 06, 2014, 01:45:24 AM »
does your source code open a data section, code section ?
Code: [Select]
    .DATA
    .CODE
or whatever the GoAsm syntax is

shankle

  • Member
  • ****
  • Posts: 868
Re: error says no code
« Reply #2 on: June 06, 2014, 01:55:05 AM »
Yes Dave.

Wonder what has happened to WJR?

wjr

  • Member
  • **
  • Posts: 242
    • WJR's website
Re: error says no code
« Reply #3 on: June 06, 2014, 02:37:57 AM »
Check the output format of the editor. You can get this error if it is using just LF (UNIX) instead of CR+LF (Windows).

Also, if you are doing 64-bit coding, there are more recent versions of GoAsm and GoLink which fixed a few problems.

shankle

  • Member
  • ****
  • Posts: 868
Re: error says no code
« Reply #4 on: June 06, 2014, 05:07:33 AM »
Thank you WJR for replying.
Yes I just recently lost my CF/LF settings - have not been able to get them back.
The LF(UNIX) that you mentioned is also probably messed up and I really don't
know how to fix it. Will have to dig seriously into notepad++.

Will  update GoAsm and Gokink.