flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > Little Man Computer

Author
Thread Post new topic Reply to topic
Picnic



Joined: 05 May 2007
Posts: 1288
Location: Paradise Falls
Picnic
This is a Little Man Computer Emulator for the Windows Console.

It compiles and executes the examples which are written for this emulator and has a similar output.
It doesn't have the limitation of 100 memory cells, it uses 16 bit-addressing, and can and do arithmetic with 32-bit signed integers.
Each command here is a double word, the high word is the operation code and the low word is the address field.


Last edited by Picnic on 03 Nov 2013, 00:12; edited 10 times in total
Post 02 Aug 2011, 18:00
View user's profile Send private message Reply with quote
rain_storm



Joined: 05 Apr 2007
Posts: 67
Location: Ireland
rain_storm
Nice one, your dump is in decimal or hex? Its a shame you're finished with it.
Post 02 Aug 2011, 18:36
View user's profile Send private message Reply with quote
MHajduk



Joined: 30 Mar 2006
Posts: 6038
Location: Poland
MHajduk
Picnic wrote:
(...) there is a lot of room for improvements.
Of course, there is. For example, you can simplify the 'IsAlNum' procedure using characteristic function of the set of alphanumeric symbols, but if you aren't interested in further development of your TINY compiler then... forget about it. Razz
Post 02 Aug 2011, 21:29
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.