[Libre-soc-bugs] [Bug 1125] split instructions' pseudo-code into separate files so they can be [[!inline]]-ed into the wiki

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Aug 6 07:34:04 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=1125

--- Comment #11 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #10)
> (In reply to Jacob Lifshay from comment #8)
> > the parser will need a decent amount of modification
> 
> NO.

we *do* need to parse the file that has the free-form text, because that's
where the instruction operands, mnemonics, form, and Special-registers are.
only the pseudocode is in a separate *_code.mdwn file.

by decent amount, i mean rewriting a decent part of page_reader.ISA.read_file,
almost nothing else will change. The idea is I'm modifying enough that I should
get paid for the work, since it's more than writing 5 lines of straightforward
code.

my general idea is to skip over the free-form text sections by looking for the
next line that is recognized, e.g. looking for "Special Registers Altered:"

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list