Help! Can't get started with the IAR assembler

I must need assembly for dummies.

I can’t get started with the IAR assembler. I set up a workspace and then edit and save a routine. I add it to the project, select assembler in the project options and then click on ‘Make’. Not much happens. I don’t get any error messages or a listing or anything. Obviously I don’t know how to use this thing.

Some hand holding will be appreciated!

Crane:
I must need assembly for dummies.

I can’t get started with the IAR assembler. I set up a workspace and then edit and save a routine. I add it to the project, select assembler in the project options and then click on ‘Make’. Not much happens. I don’t get any error messages or a listing or anything. Obviously I don’t know how to use this thing.

Some hand holding will be appreciated!

Try Project > Create new project.

Leon

Leon,

Thanks for the response.

I used ‘create new project’ to set up the workspace. Then new file to edit some code. Stored the code and added the file to the workspace. Then what? How do I get a listing? Do I get a listing on screen or only in a file? Where’s the ‘assemble’ button?

The assembler manual talks about the command line. Is the command line in my code or is there a command line that takes input from the keyboard?

Crane:
Leon,

Thanks for the response.

I used ‘create new project’ to set up the workspace. Then new file to edit some code. Stored the code and added the file to the workspace. Then what? How do I get a listing? Do I get a listing on screen or only in a file? Where’s the ‘assemble’ button?

The assembler manual talks about the command line. Is the command line in my code or is there a command line that takes input from the keyboard?

It’s all covered in the documentation, why not try reading it!

Leon

Leon,

I have read the IAR Assembler Manual and the IAR Assembler Reference Manual (several times). There is obviously something basic that I am missing here.

Do you get an error and code listing on the screen on just in a file?

Crane,

You are not a dummy, that is why you cannot get it to work.

Try (a) highlight the project under “Workspace”, and then (b) click “Make” or “Rebuild all” under “Project”.

Old Cow

Old Cow,

Thanks!

I think I’m off and running. The ‘Rebuild All’ seemed to be the major clue. Also saving the source file with the .s43 extension instead of .asm.

Thanks for the help.

Crane

Crane,

You are welcome.

The problem you encountered is not reproducible. Next time, you will find that you do not need to highlight the project, and you can use Make too.

Do not use your head; use your fingers. Do not think, just click here and there with no rational reasons behind it. Most IDE and Windows GUI are like this; IAR is not unique in this respect.

Old Cow