DASM
|
DCPU-16 assembler I/O functions for reading and writing binary files. More...
#include "DASM.pm"
Go to the source code of this file.
Classes | |
class | DASMIO::Binary |
DCPU-16 assembler I/O functions for reading and writing binary files. More... |
DCPU-16 assembler I/O functions for reading and writing binary files.
The specification doesn't say anything about the 8bit representation of a 16bit word output. The backstory only talks about the 16bit word ordering. Consequently, the representation could be either way around.
By default we assume little endian, although an explicit ordering can be forced by using a different file extension:
.bin
- default ordering (little endian) .binle
- little-endian .binbe
- big-endianBinary dumps contain no symbols or relocation data. They are raw dumps of the content.
Definition in file Binary.pm.