asm.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 16 Sep 2019 22:13:19 +0300
changeset 2376 20b65f046002
parent 1912 8b81a8f0f692
permissions -rw-r--r--
Revoke privileges and drop role.

.. -*- 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