Update User Manual.md

This commit is contained in:
David Schmenk 2014-05-15 23:03:46 -07:00
parent cac8c48225
commit 4ff45509b6

View File

@ -18,7 +18,7 @@ To start things off, here is the standard introductory program:
done
```
Three tools are required to build and run this program: *plasm*, *acme*, and *plvm*. The PLASMA compiler, *plasm*, will convert the PLASMA source code (usually with an extension on .pla) into an assembly language source file. *acme*, the portable 6502 assembler will convert the assembly source into a binary ready for loading. To execute the module, the PLASMA portable VM, *plvm*, can load and interpret the bytecode. The same binary can be loaded onto the target platform and run there with the appropriate VM. On Linux/Unix from the lawless-legends/PLASMA/src, the steps would be entered as:
Three tools are required to build and run this program: **plasm**, **acme**, and **plvm**. The PLASMA compiler, **plasm**, will convert the PLASMA source code (usually with an extension on .pla) into an assembly language source file. **acme**, the portable 6502 assembler will convert the assembly source into a binary ready for loading. To execute the module, the PLASMA portable VM, **plvm**, can load and interpret the bytecode. The same binary can be loaded onto the target platform and run there with the appropriate VM. On Linux/Unix from the lawless-legends/PLASMA/src, the steps would be entered as:
```
./plasm -AM < hello.pla > hello.a
@ -33,6 +33,6 @@ Load module HELLO.REL
Hello, world.
```
A couple of things to note: *plasm* only accepts input from stdin and output to stdout. To build acme compatible module source, tha '-AM' flags must be passed in. The *acme* assembler needs the --setpc 4096 to assemble the module at the proper address, and the -o option sets the output file.
A couple of things to note: **plasm** only accepts input from stdin and output to stdout. To build acme compatible module source, tha '-AM' flags must be passed in. The **acme** assembler needs the --setpc 4096 to assemble the module at the proper address, and the -o option sets the output file.