Converting arduino ide code into assembly code to use in atmel studio.

How do you convert a code that is in the arduino ide to the asseembly code that can be used in atmel studio, when the file is a .ino.elf file (e.g. "C:\ProgramFiles\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\hardware\tols\avr/bin/avr-objcopy" -O ihex -R .eeprom"C:\Users\Nigel\AppData\Local\Temp\arduino_build_312899/sketch_apr26a.ino.elf")?

[It is not just a .elf file]

are you looking for an translation of the .ino/cpp into an assembly code listing?

looks like avrdude used to upload the code uses the .ino.hex file

i'll guess the .hex file comes from the relevant sections of .elf

im looking for a translation from the .elf file to assmebly cod, that i can use in atmel studio 7

and by "assembly code" you mean a mnemonic commands, not hex codes?

ldi r16,0b00100000
 out DDRB,r16
 out PortB,r16

you may need to dig thru the compiler options to find one that produces a listing

yes i mean the Mnemonic commands.

Would you happen to know which option i need to produce that listing?

have you searched on google. here's something

If you compile a C/C++ program using AVR Studio, an assembly language listing is produced.

Please elaborate ?

Check the AVR Studio compiler output files for the assembly code listing. With Studio 7, you may have to enable that feature (I don't recall). With Studio 4, it is produced by default.