DASM
Classes
DASMIO/Binary.pm File Reference

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

Detailed Description

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:

Binary dumps contain no symbols or relocation data. They are raw dumps of the content.

Author:
Justin Fletcher

Definition in file Binary.pm.