Re: design a simple "bytecode"

From: Ullrich von Bassewitz <uz_at_musoftware.de>
Date: Thu, 27 Oct 2011 09:19:44 +0200
Message-ID: <20111027071944.GA7302@trixie.musoftware.de>
On Wed, Oct 26, 2011 at 05:50:48PM +0200, Gábor Lénárt wrote:
> I have the idea that I want some programs which run on 6502 (and similar)
> and Z80 CPUs as well. So I need to have some kind of bytecode, which can be
> imagined as the machine code of an imagined CPU. That code must be simple
> to be translated easily for the target CPU with the maximal possible
> performance (even for the "runtime compiling" and the peformance of the
> native code I will have then).

Two existing formats come to mind: p-code and sweet16 (a virtual 16 bit CPU
running on an 6502 and implemented by Steve Wozniak for the Apple II.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de

       Message was sent through the cbm-hackers mailing list
Received on 2011-10-27 08:00:13

Archive generated by hypermail 2.2.0.