# Path: h800/punchcard.py
# _DEFAULT_WIDTH = 120
# _DEFAULT_FIELDS = [1, 2, 8, 9, 20, 33, 47, 61, 76, 81]
# _DEFAULT_FIELDNAMES = [
#     "column1",
#     "lognum",
#     "column8",
#     "label",
#     "operation",
#     "operand1",
#     "operand2",
#     "operand3",
#     "misc",
#     "remarks"
# ]
# class PunchCard:
# class Deck:
#     def __init__(self, line, width=_DEFAULT_WIDTH, fields=_DEFAULT_FIELDS,
#                  fieldnames=_DEFAULT_FIELDNAMES, filename=None, linenum=0,
#                  verbose=False):
#     def line(self):
#     def layout(self):
#     def fields(self):
#     def strippedFields(self):
#     def record(self):
#     def filename(self):
#     def linenum(self):
#     def isComment(self):
#     def comment(self):
#     def __str__(self):
#     def __init__(self, lines=None, file=None, width=_DEFAULT_WIDTH,
#                  fields=_DEFAULT_FIELDS, cardclass=PunchCard, verbose=False):
#     def lines(self):
#     def cards(self):
#     def fields(self):
#     def strippedFields(self):
#     def records(self):
#     def __str__(self):
#     def _readSource(self, filename, recurse=True):


from h800 import punchcard
    def addressb(self):
        return self._record["operand2"]

    @property
    def operand3(self):
        return self._record["operand3"]

    @property
    def addressc(self):
        return self._record["operand3"]

    @property
    def sequence(self):
        return self._record["misc"]

    @property
    def remarks(self):
        return self._record["remarks"]

    @property
    def instruction(self):
        return self._record["instruction"]

    def parse(self):
        # Do general parse and preparation here.
        # Resolve symbols.
        # Invoke instruction-specific parser.
        pass



# Path: h800/punchcard.py
# _DEFAULT_WIDTH = 120
# _DEFAULT_FIELDS = [1, 2, 8, 9, 20, 33, 47, 61, 76, 81]
# _DEFAULT_FIELDNAMES = [
#     "column1",
#     "lognum",
#     "column8",
#     "label",
#     "operation",
#     "operand1",
#     "operand2",
#     "operand3",
#     "misc",
#     "remarks"
# ]
# class PunchCard:
# class Deck:
#     def __init__(self, line, width=_DEFAULT_WIDTH, fields=_DEFAULT_FIELDS,
#                  fieldnames=_DEFAULT_FIELDNAMES, filename=None, linenum=0,
#                  verbose=False):
#     def line(self):
#     def layout(self):
#     def fields(self):
#     def strippedFields(self):
#     def record(self):
#     def filename(self):
#     def linenum(self):
#     def isComment(self):
#     def comment(self):
#     def __str__(self):
#     def __init__(self, lines=None, file=None, width=_DEFAULT_WIDTH,
#                  fields=_DEFAULT_FIELDS, cardclass=PunchCard, verbose=False):
#     def lines(self):
#     def cards(self):
#     def fields(self):
#     def strippedFields(self):
#     def records(self):
#     def __str__(self):
#     def _readSource(self, filename, recurse=True):


# Path: h800/arguscard.py
from h800 import punchcard

    def addressb(self):
        return self._record["operand2"]

    @property
    def operand3(self):
        return self._record["operand3"]

    @property
    def addressc(self):
        return self._record["operand3"]

    @property
    def sequence(self):
        return self._record["misc"]

    @property
    def remarks(self):
        return self._record["remarks"]

    @property
    def instruction(self):
        return self._record["instruction"]

    def parse(self):
        # Do general parse and preparation here.
        # Resolve symbols.
        # Invoke instruction-specific parser.
        pass



class Deck(punchcard.Deck):