Skip to content

Commit

Permalink
Cosmetic corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
Textmode committed Mar 8, 2011
1 parent 0862ecc commit 2ff4555
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions README
Expand Up @@ -9,8 +9,9 @@ It's not presently useful for much of anything, it is also likely to be


In all honesty, TMVM could be used as a toy system, or as an instructive In all honesty, TMVM could be used as a toy system, or as an instructive
aid (once it's more stable). It's nigh-complete lack of higher-level aid (once it's more stable). It's nigh-complete lack of higher-level
features or space means it's effectively a void, an empty sandpit, in which you can do pretty much features or space means it's effectively a void, an empty sandpit, in
anything you want without stepping on anything's toes. which you can do pretty much anything you want without stepping on
anything's toes.


Note: TMVM is still under development, expect fundamental design and API Note: TMVM is still under development, expect fundamental design and API
changes. changes.
Expand Down Expand Up @@ -93,7 +94,7 @@ As a module, machine exposes the following functions:
asm.lua can be required normally. Additionally, it is a runnable module and asm.lua can be required normally. Additionally, it is a runnable module and
can be directly run. can be directly run.


As a program, asm.lua takes the name of a TASM source file, and optionally As a program, asm.lua takes the name of a FUASM source file, and optionally
the name of an output file. if no output file is given, it outputs to the the name of an output file. if no output file is given, it outputs to the
same filename with .crap replacing it's original extension: thus same filename with .crap replacing it's original extension: thus
'test.asm' outputs to 'test.crap'. Regardless, it also prints a 'test.asm' outputs to 'test.crap'. Regardless, it also prints a
Expand Down Expand Up @@ -127,9 +128,9 @@ As a module, it exposes the following functions:
returns: bitfield returns: bitfield
Creates and returns a new bitfield. If opt_num is provided, the Creates and returns a new bitfield. If opt_num is provided, the
initial value of the bitfield will be the binary representation of initial value of the bitfield will be the binary representation of
that number, otherwise it will be zero. If opt_width is provided it that number, otherwise it will be zero.
will be used as the effective bitwidth of the bitfield, otherwise it If opt_width is provided it will be used as the effective bitwidth
will default to 16 bits. of the bitfield, otherwise it will default to 16 bits.


(bf)[n] (bf)[n]
returns: bit returns: bit
Expand Down

0 comments on commit 2ff4555

Please sign in to comment.