[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: RTL Question

From: Andy Wingo
Subject: Re: RTL Question
Date: Sun, 03 Jun 2012 23:31:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)

On Sun 03 Jun 2012 16:58, Noah Lavine <address@hidden> writes:

> I've been playing around with the wip-rtl branch, and I have an error
> I don't understand. Why does this give me a "bad instruction" error:
> (use-modules (system vm rtl))
> (define prog (assemble-rtl-program 2 '((assert-nargs-ee/locals 1 1) (mov 0 
> 1))))
> (prog 3)

No return instruction :)  Execution proceeds past the mov onto whatever
is next in memory.

> On a related note, I've been working on a small Tree-IL -> RTL
> compiler. If anyone else is working on one, perhaps we should work
> together. If not, I'll hopefully have something that we could use
> relatively soon.

Cool!  Keep me updated :)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]