Class HexDirective


  • public class HexDirective
    extends Directive
    A simple directive to introduce hexadecimal capabilities. StreamTokenizer does not appear to support syntax, so using a directive to introduce the capability.
    • Constructor Detail

      • HexDirective

        public HexDirective​(Configuration config,
                            java.io.OutputStream outputStream)
    • Method Detail

      • writeBytes

        public void writeBytes​(int startAddress,
                               Line line)
                        throws java.io.IOException
        Description copied from class: Directive
        Write directive contents to output file. Note that address is adjusted for the line header already.
        Specified by:
        writeBytes in class Directive
        Throws:
        java.io.IOException