__docformat__ = 'restructuredtext en'


# -----------------------------------------------------------------------------
#  _                            _
# (_)_ __ ___  _ __   ___  _ __| |_ ___
# | | '_ ` _ \| '_ \ / _ \| '__| __/ __|
# | | | | | | | |_) | (_) | |  | |_\__ \
# |_|_| |_| |_| .__/ \___/|_|   \__|___/
#             |_|
# -----------------------------------------------------------------------------
#
from jc2cli.decorators import command, mode, argo
from jc2cli.builtin.argos import Str
import jc2cli.tools.loggerator as loggerator


# -----------------------------------------------------------------------------
#
#   ___ ___  _ __  ___| |_ __ _ _ __ | |_ ___
#  / __/ _ \| '_ \/ __| __/ _` | '_ \| __/ __|
# | (_| (_) | | | \__ \ || (_| | | | | |_\__ \
#  \___\___/|_| |_|___/\__\__,_|_| |_|\__|___/
#
# -----------------------------------------------------------------------------
#
MODULE = 'EX.ASM.executor'
logger = loggerator.getLoggerator(MODULE)


# -----------------------------------------------------------------------------
#            _                     _   _
#  ___ _   _| |__  _ __ ___  _   _| |_(_)_ __   ___  ___
# / __| | | | '_ \| '__/ _ \| | | | __| | '_ \ / _ \/ __|
# \__ \ |_| | |_) | | | (_) | |_| | |_| | | | |  __/\__ \
# |___/\__,_|_.__/|_|  \___/ \__,_|\__|_|_| |_|\___||___/
#
# -----------------------------------------------------------------------------
#
@command('load-program name')
@argo('name', Str(help='Name of the program to load'), None)
def do_load_program(name):
    logger.display('load program {}'.format(name))
    return True


@mode('asm', 'asm')
# @mode('asm')
def do_asm():
    logger.display('asm engine machine')
    return True


# -----------------------------------------------------------------------------
#       _                     _       __ _       _ _   _
#   ___| | __ _ ___ ___    __| | ___ / _(_)_ __ (_) |_(_) ___  _ __  ___
#  / __| |/ _` / __/ __|  / _` |/ _ \ |_| | '_ \| | __| |/ _ \| '_ \/ __|
# | (__| | (_| \__ \__ \ | (_| |  __/  _| | | | | | |_| | (_) | | | \__ \
#  \___|_|\__,_|___/___/  \__,_|\___|_| |_|_| |_|_|\__|_|\___/|_| |_|___/
#
# -----------------------------------------------------------------------------
#
class Executor(object):

    def __init__(self, cli, **kwargs):
        self.cli = cli
        self.panel = []
        self.pc = None
        self.labels = {}
        self.cmd_to_run = None

    def load_program(self, commands):
        pass

    def execute_pc(self, pc):
        pass

    def execute_from(self, initial_pc):
        pass


# -----------------------------------------------------------------------------
#                  _
#  _ __ ___   __ _(_)_ __
# | '_ ` _ \ / _` | | '_ \
# | | | | | | (_| | | | | |
# |_| |_| |_|\__,_|_|_| |_|
#
# -----------------------------------------------------------------------------
#
if __name__ == '__main__':
    pass

5008deb945dd713a92f5992004633b45b6758c36
<mask token>


@command('load-program name')
@argo('name', Str(help='Name of the program to load'), None)
def do_load_program(name):
    logger.display('load program {}'.format(name))
    return True


@mode('asm', 'asm')
def do_asm():
    logger.display('asm engine machine')
    return True


class Executor(object):

    def __init__(self, cli, **kwargs):
        self.cli = cli
        self.panel = []
        self.pc = None
        self.labels = {}
        self.cmd_to_run = None

    def load_program(self, commands):
        pass

    def execute_pc(self, pc):
        pass

    def execute_from(self, initial_pc):
        pass


<mask token>

<mask token>


@command('load-program name')
@argo('name', Str(help='Name of the program to load'), None)
def do_load_program(name):
    logger.display('load program {}'.format(name))
    return True


@mode('asm', 'asm')
def do_asm():
    logger.display('asm engine machine')
    return True


class Executor(object):

    def __init__(self, cli, **kwargs):
        self.cli = cli
        self.panel = []
        self.pc = None
        self.labels = {}
        self.cmd_to_run = None

    def load_program(self, commands):
        pass

    def execute_pc(self, pc):
        pass

    def execute_from(self, initial_pc):
        pass


if __name__ == '__main__':
    pass

__docformat__ = 'restructuredtext en'
<mask token>
MODULE = 'EX.ASM.executor'
logger = loggerator.getLoggerator(MODULE)


@command('load-program name')
@argo('name', Str(help='Name of the program to load'), None)
def do_load_program(name):
    logger.display('load program {}'.format(name))
    return True


@mode('asm', 'asm')
def do_asm():
    logger.display('asm engine machine')
    return True


class Executor(object):

    def __init__(self, cli, **kwargs):
        self.cli = cli
        self.panel = []
        self.pc = None
        self.labels = {}
        self.cmd_to_run = None

    def load_program(self, commands):
        pass

    def execute_pc(self, pc):
        pass

    def execute_from(self, initial_pc):
        pass


if __name__ == '__main__':
    pass

__docformat__ = 'restructuredtext en'
from jc2cli.decorators import command, mode, argo
from jc2cli.builtin.argos import Str
import jc2cli.tools.loggerator as loggerator
MODULE = 'EX.ASM.executor'
logger = loggerator.getLoggerator(MODULE)


@command('load-program name')
@argo('name', Str(help='Name of the program to load'), None)
def do_load_program(name):
    logger.display('load program {}'.format(name))
    return True


@mode('asm', 'asm')
def do_asm():
    logger.display('asm engine machine')
    return True


class Executor(object):

    def __init__(self, cli, **kwargs):
        self.cli = cli
        self.panel = []
        self.pc = None
        self.labels = {}
        self.cmd_to_run = None

    def load_program(self, commands):
        pass

    def execute_pc(self, pc):
        pass

    def execute_from(self, initial_pc):
        pass


if __name__ == '__main__':
    pass

__docformat__ = 'restructuredtext en'


# -----------------------------------------------------------------------------
#  _                            _
# (_)_ __ ___  _ __   ___  _ __| |_ ___
# | | '_ ` _ \| '_ \ / _ \| '__| __/ __|
# | | | | | | | |_) | (_) | |  | |_\__ \
# |_|_| |_| |_| .__/ \___/|_|   \__|___/
#             |_|
# -----------------------------------------------------------------------------
#
from jc2cli.decorators import command, mode, argo
from jc2cli.builtin.argos import Str
import jc2cli.tools.loggerator as loggerator


# -----------------------------------------------------------------------------
#
#   ___ ___  _ __  ___| |_ __ _ _ __ | |_ ___
#  / __/ _ \| '_ \/ __| __/ _` | '_ \| __/ __|
# | (_| (_) | | | \__ \ || (_| | | | | |_\__ \
#  \___\___/|_| |_|___/\__\__,_|_| |_|\__|___/
#
# -----------------------------------------------------------------------------
#
MODULE = 'EX.ASM.executor'
logger = loggerator.getLoggerator(MODULE)


# -----------------------------------------------------------------------------
#            _                     _   _
#  ___ _   _| |__  _ __ ___  _   _| |_(_)_ __   ___  ___
# / __| | | | '_ \| '__/ _ \| | | | __| | '_ \ / _ \/ __|
# \__ \ |_| | |_) | | | (_) | |_| | |_| | | | |  __/\__ \
# |___/\__,_|_.__/|_|  \___/ \__,_|\__|_|_| |_|\___||___/
#
# -----------------------------------------------------------------------------
#
@command('load-program name')
@argo('name', Str(help='Name of the program to load'), None)
def do_load_program(name):
    logger.display('load program {}'.format(name))
    return True


@mode('asm', 'asm')
# @mode('asm')
def do_asm():
    logger.display('asm engine machine')
    return True


# -----------------------------------------------------------------------------
#       _                     _       __ _       _ _   _
#   ___| | __ _ ___ ___    __| | ___ / _(_)_ __ (_) |_(_) ___  _ __  ___
#  / __| |/ _` / __/ __|  / _` |/ _ \ |_| | '_ \| | __| |/ _ \| '_ \/ __|
# | (__| | (_| \__ \__ \ | (_| |  __/  _| | | | | | |_| | (_) | | | \__ \
#  \___|_|\__,_|___/___/  \__,_|\___|_| |_|_| |_|_|\__|_|\___/|_| |_|___/
#
# -----------------------------------------------------------------------------
#
class Executor(object):

    def __init__(self, cli, **kwargs):
        self.cli = cli
        self.panel = []
        self.pc = None
        self.labels = {}
        self.cmd_to_run = None

    def load_program(self, commands):
        pass

    def execute_pc(self, pc):
        pass

    def execute_from(self, initial_pc):
        pass


# -----------------------------------------------------------------------------
#                  _
#  _ __ ___   __ _(_)_ __
# | '_ ` _ \ / _` | | '_ \
# | | | | | | (_| | | | | |
# |_| |_| |_|\__,_|_|_| |_|
#
# -----------------------------------------------------------------------------
#
if __name__ == '__main__':
    pass
