prog8/il65/emit/calls.py

22 lines
502 B
Python
Raw Normal View History

2018-01-14 14:18:50 +00:00
"""
Programming Language for 6502/6510 microprocessors, codename 'Sick'
This is the code generator for gotos and subroutine calls.
Written by Irmen de Jong (irmen@razorvine.net) - license: GNU GPL 3.0
"""
from ..plyparse import Goto, SubCall
2018-02-03 00:53:07 +00:00
from . import Context
2018-01-14 14:18:50 +00:00
2018-02-03 00:53:07 +00:00
def generate_goto(ctx: Context) -> None:
stmt = ctx.stmt
assert isinstance(stmt, Goto)
2018-01-14 14:18:50 +00:00
pass # @todo
2018-02-03 00:53:07 +00:00
def generate_subcall(ctx: Context) -> None:
stmt = ctx.stmt
assert isinstance(stmt, SubCall)
2018-01-14 14:18:50 +00:00
pass # @todo