links for 2009-05-17

May 18, 2009
  • <pre>
    % /home/cs1721/bin/emu /home/cs1721/public_html/05s2/emu/examples/iota.hex
    Emu Reference Implementation v0.?
    > program
    0000: e000 LDI R16,0
    0001: e081 LDI R24,1
    0002: 2fa0 MOV R26,R16
    0003: e7f0 LDI R31,112
    0004: e0e0 LDI R30,0
    0005: 9509 ICALL
    0006: e011 LDI R17,1
    0007: 0f01 ADD R16,R17
    0008: e614 LDI R17,100
    0009: 1b10 SUB R17,R16
    000a: f7b1 BRBC 1,-10
    000b: e080 LDI R24,0
    000c: e7f0 LDI R31,112
    000d: e0e0 LDI R30,0
    000e: 9509 ICALL
    > registers
    PC=0000 SP=1100 SR=[C=0,Z=0,N=0,V=0]
    r00-r0f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    r10-r1f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    > step
    0000: e000 LDI R16,0
    PC=0001 SP=1100 SR=[C=0,Z=0,N=0,V=0]
    r00-r0f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    r10-r1f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    > run
    0
    1

    8
    9
    > restart
    > run
    0
    1

    9
    > registers
    PC=000f SP=1100 SR=[C=0,Z=1,N=0,V=0]
    r00-r0f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    r10-r1f 0a 00 00 00 00 00 00 00 00 00 09 00 00 00 00 70
    </pre>
  • <blockquote>
    <p>For something even smaller, download <a href="miniPicoLisp.tgz">miniPicoLisp.tgz</a>. It is a <i>minimal</i> version,
    without support for databases, UTF-8, bignums, IPC, networking and other
    system-dependent functions. A kind of "pure" Pico Lisp (not "pure Lisp"!). It
    supports the full Pico Lisp language, but runs faster, and uses even less memory
    space. It should also not be restricted to Unix. In addition, it compiles and
    runs also on 64-bit systems.

    </p><p><a href="mailto:jon.kleiser@usit.uio.no">Jon Kleiser</a> wrote an OpenGL
    library <a href="http://folk.uio.no/jkleiser/pico/gl.tgz">gl.tgz</a&gt;, and a <a href="http://folk.uio.no/jkleiser/pico/china.tgz">Chinese Checkers</a> program
    running on top of it.

    </p>
    </blockquote>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: