616a991e21
Add installation instructions
2019-11-26 09:59:48 +00:00
7c75f1868a
Update tools section
2019-11-26 09:48:34 +00:00
365d7f0b5f
Fix how arguments are interpreted
...
Also adds the footer from mima-run to mima-asm.
2019-11-26 09:45:23 +00:00
6712a9c32c
Format and parse instructions with optional arguments correctly
...
This also fixes parsing of instructions with arguments
2019-11-26 08:39:42 +00:00
d082bc939e
Fix formatting of negative numbers
2019-11-25 23:03:58 +00:00
f415595a40
Update examples and add simple example
2019-11-25 22:11:43 +00:00
62336b60eb
Only save .mima-flags file if there are any flags
2019-11-25 18:28:03 +00:00
885d872539
Always show all flags if flags are visible
2019-11-25 18:24:57 +00:00
1975403c3c
Output instructions and labels in memory dump
2019-11-25 17:45:46 +00:00
e4dea8e6f9
Add example program for flags
2019-11-25 14:29:13 +00:00
84e4ceb686
Add .mima-symbols files for existing examples
2019-11-25 14:25:05 +00:00
745c201d00
Fix flag parsing and weeding
2019-11-25 14:16:05 +00:00
e5728a0fb4
Discover assembly output file
2019-11-25 13:14:29 +00:00
9ace3632bc
Export symbol and flag files
2019-11-25 13:02:44 +00:00
02b6d65b8f
Store 'File's
2019-11-25 11:22:51 +00:00
d5d29a8180
Allow toggling memory part of memory dump
2019-11-25 10:02:08 +00:00
72e21d6ff2
Properly load flag and symbol files
2019-11-25 09:57:39 +00:00
7446bcab45
Update examples to new assembly syntax
2019-11-21 19:17:04 +00:00
ae0c31d83a
Make .mima match the .mimasm
2019-11-21 19:16:47 +00:00
e546996e82
Fix parsing of labels whose name starts with an instruction
2019-11-21 19:16:27 +00:00
fa4cd218ab
Switch assembler to new parser
2019-11-21 18:27:27 +00:00
ee5c2762d6
Fix weeding of things taking up memory
...
This fixes how instructions and other things that take up space in memory are
parsed. I just forgot to mark the respective memory locations as occupied after
filling them.
2019-11-21 18:25:42 +00:00
396f07cdf1
Make register names case insensitive
2019-11-21 18:25:33 +00:00
393b253d28
Remove spurious undefined
2019-11-21 16:30:51 +00:00
bde92704f1
Finish weeding assembly
2019-11-21 16:20:28 +00:00
702f58e2a4
Weed assembly statements
...
There's still an undefined in Assembly.hs. To get rid of it, I'll need to adjust
how I weed labels. Once that's finished, the rest should be fairly straightforward.
2019-11-21 15:12:21 +00:00
f3b39f78f4
Parse assembly statements
...
This commit begins the rewrite of the assembly parser to use the new (not yet
written down) syntax.
2019-11-20 20:46:34 +00:00
7def23284d
Fix labels not being applied when they should
2019-11-20 20:46:12 +00:00
e93ff1fc74
Fix number parsing
2019-11-20 20:44:45 +00:00
42d52055d1
Extract flag parser
2019-11-20 18:19:25 +00:00
602e8b5b14
Add a few more parsers for numbers
2019-11-20 17:16:00 +00:00
f8c5d2766c
Fix formatting errors
...
Decimal numbers now look nicer, and --no-sparse works properly again.
2019-11-19 17:14:00 +00:00
a7ef16bc4e
Do more state formatting
...
Registers can now be displayed above the memory content.
2019-11-19 16:50:37 +00:00
ee7639c1c7
Fix formatting of numbers into blocks
2019-11-19 16:03:56 +00:00
75e102ed7d
Improve command-line option parsing
2019-11-19 11:45:24 +00:00
0d18329354
Add help for formatting options
2019-11-19 10:59:30 +00:00
8bfce48a7f
Format mima state
...
Also, use the new formatter in mima-run (and while we're at it, clean up flag
file loading and prepare for symbol file loading).
2019-11-19 10:24:53 +00:00
45ec7d1708
Rename AllFlags to RawFlags
...
I just like this new name better
2019-11-19 10:24:23 +00:00
4707e929ef
Switch to Mima.Format formatting
2019-11-19 08:02:58 +00:00
81fee29490
Extract some label-related stuff
2019-11-19 07:59:49 +00:00
23bd495521
Format more numbers
2019-11-18 14:08:46 +00:00
75304e8027
Format symbol file
2019-11-18 09:59:48 +00:00
ac03e6346f
Add example benchmark file
2019-11-18 09:33:16 +00:00
5a486b59c2
Fix flag file parsing
2019-11-18 09:33:10 +00:00
5b172ad57f
Format flag file
2019-11-18 09:22:35 +00:00
f3c7cdf8b3
Reorganize things in preparation for formatting
2019-11-18 09:22:21 +00:00
bc2594bf69
Load .mima-symbol file
2019-11-15 21:30:05 +00:00
d6db284c22
Improve address range parsing error messages
2019-11-15 19:10:07 +00:00
6dbaadda6a
Update README program help
2019-11-15 00:01:51 +00:00
9adcc80373
Prepare for weeding
2019-11-14 23:47:06 +00:00