Shop OBEX P1 Docs P2 Docs Learn Events
Option for generating assembly listing — Parallax Forums

Option for generating assembly listing

IanMIanM Posts: 40
edited 2013-07-26 11:02 in Propeller 1
Hi All :)

What are the magic options to use in SimpleIDE for generating an assembly listing? The -save-temps option seems about right but doesn't work when there is a cogc file. It only generates an assembly file for the main file.

Thanks, Ian

Comments

  • Heater.Heater. Posts: 21,230
    edited 2013-07-25 05:27
    I would do all this from the command line not from within SimpleIDE.
    You need a "-S" switch to get the assembler output.
    Then you should have a "-o yourSourceName.S" to get it written to the right file.
    Make all other options the same as SimpleIDE shows on it's build status output.
  • SRLMSRLM Posts: 5,045
    edited 2013-07-25 06:40
    The -Wa,-alh option will output the final assembly for the entire program as well.
  • jazzedjazzed Posts: 11,803
    edited 2013-07-25 06:47
    You gotta right click on the .cogc file in project manager.
  • mindrobotsmindrobots Posts: 6,506
    edited 2013-07-25 07:20
    From SimpleIDE, right click on the .c file and select "Show Assembly" from the menu it will compile the source and pop up another tab with the assembly listing. From there, you just have a file to do what you will.

    Edit: What jazzed said. I got distracted by work mid-answer. Dang it!
  • IanMIanM Posts: 40
    edited 2013-07-25 15:26
    Thanks guys. :)
  • RsadeikaRsadeika Posts: 3,837
    edited 2013-07-26 09:43
    How do you get an assembly listing of a Spin file, in SimpleIDE?

    Ray
  • jazzedjazzed Posts: 11,803
    edited 2013-07-26 10:27
    You don't.
  • SRLMSRLM Posts: 5,045
    edited 2013-07-26 11:02
    Rsadeika wrote: »
    How do you get an assembly listing of a Spin file, in SimpleIDE?

    Ray

    Spin compiles to bytecode, not assembly.
Sign In or Register to comment.