[plt-scheme] Re: (ab)using ffi-call to execute assembly
Update the second:
This is either a Linux or a 4.2.0.2 problem, as it works for me on OS
X 4.2.0.5. Probably it is not a problem worth solving. Here's a
simplified version of the code. Should work on an 32-bit Intel system.
Welcome to MzScheme v4.2.0.5 [3m], Copyright (c) 2004-2009 PLT Scheme Inc.
> (define the-answer #"U\211\345\270*\0\0\0]\303"
)
> (require '#%foreign)
> (define (run)
((ffi-call the-answer null _int32)))
>
(run)
42
N.
On Mon, Jul 13, 2009 at 4:10 PM, Noel Welsh<noelwelsh at gmail.com> wrote:
> Update:
>
> Code works in DrScheme, but not in MzScheme.
>
...