rv2fox: Support for emitting rta instructions

This commit is contained in:
Ry 2023-02-05 16:59:47 -08:00
parent fd6b39c0b7
commit f5ad080bac

View File

@ -108,6 +108,12 @@ class Emitter:
""" """
self.mov(rval, f'[{rmem}]', size) self.mov(rval, f'[{rmem}]', size)
def rta(self, dest, source):
"""
Emit an rta instruction
"""
self.insn(f'rta', dest, source)
class Converter: class Converter:
""" """