|
|
@@ -1,7 +1,7 @@
|
|
|
DEFINITION MODULE MGen;
|
|
|
(* MC64 image emitter for the M2c scalar subset (see M2c.atg).
|
|
|
|
|
|
- Buffers a single-module MC64 image and writes "<Module>.MCD"
|
|
|
+ Buffers a single-module MC64 image and writes "<Module>.MC4"
|
|
|
(current directory) at EndModule. The image satisfies the
|
|
|
reference loader (Loader2): magic "MC64", descriptor with name,
|
|
|
TOINIT flag, global sizes (one 8-byte slot per variable), two
|
|
|
@@ -44,7 +44,7 @@ PROCEDURE BeginBody;
|
|
|
|
|
|
PROCEDURE EndModule;
|
|
|
(* Emits the epilogue, the print procedure, the procedure table,
|
|
|
- the descriptor, the checksum, and writes the .MCD file. *)
|
|
|
+ the descriptor, the checksum, and writes the .MC4 file. *)
|
|
|
|
|
|
PROCEDURE LoadVar (name: ARRAY OF CHAR);
|
|
|
(* Pushes the global (placeholder push-0 if unknown). *)
|