[plt-scheme] Re: (ab)using ffi-call to execute assembly

From: Noel Welsh (noelwelsh at gmail.com)
Date: Mon Jul 13 15:25:22 EDT 2009

Update the second:

This is either a Linux or a problem, as it works for me on OS
X 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)))


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.

Posted on the users mailing list.