[OLPC-Chicago] high level to low level
Andrew Harrington
aharrin at luc.edu
Mon Jan 28 02:04:58 EST 2008
Mel,
It never occurred to me before that it was of enough interest to bother to
make open-source, but I am happy to do it. The introduction is buried in my
course notes starting shortly after
http://www.cs.luc.edu/~anh/150s07/notes/notes.html#Binary
The simulator itself also includes built-in help screens on the simulator
and on the assembler language.
A RISC simulator would be a good alternative that would take some tweaking
to show all the registers and adjust the assembler interpreter, but you
can't get much simpler than this one-register machine. The instruction set
comes from Decker and Hirshfield, but it is hardly a creative leap. I
include code to input and output the binary file structure for Decker and
Hirshfield's Java applet simulator, but that could easily be cut out. I
never use it.
Andy
On Jan 27, 2008 11:58 PM, Mel Chua <mel at melchua.com> wrote:
> Andy,
>
> This is fantastic! Is the code open-source? (I'm guessing yes, but just
> making sure...) If it is, you might want to consider applying for
> [[Project hosting]] on a laptop.org machine and wrapping it into an .xo
> package so that kids can download and play with it. (Also, are there any
> docs or tutorials to start new hackers off, or would you like someone to
> write them?)
>
> Might also make an interesting PyCon sprint for someone to work on, or a
> CS/EE class project in terms of porting this to the XO (and also
> encouraging people to play with the firmware, [[OFW]], which is written
> mostly in [[Forth]].)
>
> Are there any teachers/professors/students who might be able to work on
> this project, or something like it, as a course assignment or some other
> for-credit thing this semester? Persuading schools to "count" OLPC
> projects towards graduation tends to help free up time to work on stuff.
> ;)
>
> -Mel
>
> Andrew Harrington wrote:
> > Sheila,
> > I am not, but I have a super-simple assembler simulator I use for intro
> > students. It is written in Python, using the simple Zelle graphic
> > package my students used in class (so the graphics are pretty
> > primitive) and the central engine would easily allow modification for
> > another instruction set, and it has a console based I/O that the
> > graphics wraps around.
> >
> > People are welcomed to hack it if interested.
> > http://www.cs.luc.edu/~anh/150s07/examples/pipFiles.zip<http://www.cs.luc.edu/%7Eanh/150s07/examples/pipFiles.zip>
> >
> > Andy
> >
> > On Jan 27, 2008 8:41 AM, sheila miguez <shekay at pobox.com
> > <mailto:shekay at pobox.com>> wrote:
> >
> > I remember Mel mentioning a project to allow people to program a
> > low-level language via a high-level language. Is anyone here
> involved
> > in this?
> >
> > --
> > sheila
> > _______________________________________________
> > OLPC-Chicago mailing list
> > OLPC-Chicago at lists.laptop.org <mailto:OLPC-Chicago at lists.laptop.org>
> > http://lists.laptop.org/listinfo/olpc-chicago
> >
> >
> >
> >
> > --
> > Andrew N. Harrington
> > Director of Academic Programs
> > Computer Science Department
> > Loyola University Chicago
> > 512B Lewis Towers (office)
> > Snail mail to Lewis Towers 416
> > 820 North Michigan Avenue
> > Chicago, Illinois 60611
> >
> > http://www.cs.luc.edu/~anh <http://www.cs.luc.edu/%7Eanh>
> > Phone: 312-915-7999
> > Fax: 312-915-7998
> > gdp at cs.luc.edu <mailto:gdp at cs.luc.edu> for graduate administration
> > upd at cs.luc.edu <mailto:upd at cs.luc.edu> for undergrad administration
> > aharrin at luc.edu <mailto:aharrin at luc.edu> as professor
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > OLPC-Chicago mailing list
> > OLPC-Chicago at lists.laptop.org
> > http://lists.laptop.org/listinfo/olpc-chicago
>
--
Andrew N. Harrington
Director of Academic Programs
Computer Science Department
Loyola University Chicago
512B Lewis Towers (office)
Snail mail to Lewis Towers 416
820 North Michigan Avenue
Chicago, Illinois 60611
http://www.cs.luc.edu/~anh
Phone: 312-915-7999
Fax: 312-915-7998
gdp at cs.luc.edu for graduate administration
upd at cs.luc.edu for undergrad administration
aharrin at luc.edu as professor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/olpc-chicago/attachments/20080128/e25c673d/attachment.htm
More information about the OLPC-Chicago
mailing list