Commit 70b965c1 authored by Benoit Perrot's avatar Benoit Perrot
Browse files

Comments on internal.

parent 3a281115
2003-06-29 Benot Perrot <benoit@lrde.epita.fr>
* doc/mipsy.texi: Add some comments on internal.
2003-06-29 Benot Perrot <benoit@lrde.epita.fr>
* src/vm/virtual_machine.hh: Display a dedicated error message
......
......@@ -93,7 +93,6 @@ Its features are:
@itemize @minus
@item
sufficient support of MIPS instruction set
@item
illimited registers
@end itemize
......@@ -121,6 +120,7 @@ More information on Python can be found on
@menu
* Invoking @mipsy{}::
* Internal of @mipsy{}::
* The @mipsy{} Language::
* Copying This Manual::
* Index::
......@@ -128,6 +128,10 @@ More information on Python can be found on
@detailmenu
--- The Detailed Node Listing ---
Internal of @mipsy{}
* Steps of @mipsy{} ::
The @mipsy{} Language
* The @mipsy{} supported instruction set::
......@@ -140,6 +144,7 @@ Copying This Manual
@end detailmenu
@end menu
@c ---------------------------------------------------------
@node Invoking @mipsy{}
@chapter Invoking @mipsy{}
......@@ -166,6 +171,30 @@ Display the version number and exit successfully.
Document the rest of it.
@end table
@c ---------------------------------------------------------
@node Internal of @mipsy{}
@chapter Internal of @mipsy{}
@menu
* Steps of @mipsy{}::
@end menu
@node Steps of @mipsy{}
@section Steps of @mipsy{}
@mipsy{} works in three steps:
@itemize @minus
@item it scan and parse the file (lexical and syntaxical analysis),
producing an abstract representation of a program;
@item it resolve the program, checking the existence of labels used and
computing branch offsets (assembly);
@item it loads the resolved program in the virtual machine,
search for an entry point labeled `main' and start execution (execution).
@end itemize
@c ---------------------------------------------------------
@node The @mipsy{} Language
@chapter The @mipsy{} Language
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment