asm.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 04 Jan 2021 11:07:13 +0200
changeset 2499 54c46fdf99a6
parent 1912 8b81a8f0f692
permissions -rw-r--r--
Exposing WSL distros.

.. -*- coding: utf-8; -*-

============
 Assempler.
============
.. contents::
   :local:

Decompile binary file.
======================

With GNU Binutils::

  $ objdump -w -d file.o

Convert ELF to binary format.
=============================
::

  $ objcopy -O binary image.elf image.bin

Convert ELF to Intex hex format.
================================
::

  $ avr-objcopy -O ihex image.elf image.ihex