This is G o o g l e's cache of as retrieved on 9 Aug 2005 04:56:04 GMT.
G o o g l e's cache is the snapshot that we took of the page as we crawled the web.
The page may have changed since that time. Click here for the current page without highlighting.
This cached page may reference images which are no longer available. Click here for the cached text only.
To link to or bookmark this page, use the following url:

Google is neither affiliated with the authors of this page nor responsible for its content.

NMachine -- Minus273's Homepage

Minus273's Homepage -> NMachine

(Sorry currently English-only)


The name 'NMachine' stands for 'Neo Machine'


There are four blocks of memories in an N-machine:

1. The stack
It is used for calculating... and almost everything is done on this stack.

2. The memory
It is just a good old-style 4G memory, the program starts at 0x00000000 and is able to modify and read anything in the memory, including itself.

3. The return-address stack
Just a stack full of pointers, the gosub and return instruction depends on this.

4. The frame stack
A frame stack to allocate local variables and pass arguments.

Instruction Set


1. L in instructions like lod means the length of numbers:
0 for bytes
1 for words
2 for integers
3 for int64s

2. Type names:
8bit: char
16bit: short
32bit: int
64bit: comp
8bit: byte
16bit: word
32bit: lword
64bit: qword
name for just bytes:
8bit: byte
16bit: word
32bit: long
64bit: huge

0x00 Basic Functions

0x00 halt
U: Halts the machine
X: 00

0x01 libn
A: uword->function name
U: Call libn functions
X: 01 00 01(Call function 2 on page 1)

0x10 Loads and Stores

0x10+L lod
S: addr
R: a
U: Get content at lword addr and put it on the stack
X: 11 00 00 01 21(Get a word at 0x00000121)

5 Newest Blogs
Aug 8 2005 TsinghuaMormons: Mormons dominating Tsinghua foreign language department?/摩门教统治清华外语系?
Aug 6 2005 WanderersNachtlied: A translation of Wanderers Nachtlied/《流浪者之夜歌》的翻译
Aug 5 2005 DieSont: The Song of Counter-revolutionaries in Cultural Revolution/文革的嚎歌zz
Jul 29 2005 HavaMal: Havamal Translation/翻译:高话
Jul 28 2005 CoolCursing: Cool cursing/骂人到了这境界

Back to FrontPage | Edit this page