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> 2003-06-29 Benot Perrot <benoit@lrde.epita.fr>
* src/vm/virtual_machine.hh: Display a dedicated error message * src/vm/virtual_machine.hh: Display a dedicated error message
......
...@@ -93,7 +93,6 @@ Its features are: ...@@ -93,7 +93,6 @@ Its features are:
@itemize @minus @itemize @minus
@item @item
sufficient support of MIPS instruction set sufficient support of MIPS instruction set
@item @item
illimited registers illimited registers
@end itemize @end itemize
...@@ -121,6 +120,7 @@ More information on Python can be found on ...@@ -121,6 +120,7 @@ More information on Python can be found on
@menu @menu
* Invoking @mipsy{}:: * Invoking @mipsy{}::
* Internal of @mipsy{}::
* The @mipsy{} Language:: * The @mipsy{} Language::
* Copying This Manual:: * Copying This Manual::
* Index:: * Index::
...@@ -128,6 +128,10 @@ More information on Python can be found on ...@@ -128,6 +128,10 @@ More information on Python can be found on
@detailmenu @detailmenu
--- The Detailed Node Listing --- --- The Detailed Node Listing ---
Internal of @mipsy{}
* Steps of @mipsy{} ::
The @mipsy{} Language The @mipsy{} Language
* The @mipsy{} supported instruction set:: * The @mipsy{} supported instruction set::
...@@ -140,6 +144,7 @@ Copying This Manual ...@@ -140,6 +144,7 @@ Copying This Manual
@end detailmenu @end detailmenu
@end menu @end menu
@c ---------------------------------------------------------
@node Invoking @mipsy{} @node Invoking @mipsy{}
@chapter Invoking @mipsy{} @chapter Invoking @mipsy{}
...@@ -166,6 +171,30 @@ Display the version number and exit successfully. ...@@ -166,6 +171,30 @@ Display the version number and exit successfully.
Document the rest of it. Document the rest of it.
@end table @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 @node The @mipsy{} Language
@chapter 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