Releases: kcelebi/riscv-assembler
v1.0.19
v1.0.18
Full Changelog: v1.0.16...v1.0.18
v1.0.17
v1.0.16
v1.0.15
What's Changed
- Create LICENSE by @kcelebi in #1
- Fixed typo in README by @PENGUINLIONG in #2
- Import os and remove shell calls by @PENGUINLIONG in #3
- Project assembler by @kcelebi in #7
- Project assembler by @kcelebi in #8
- Added "lh" and "slt" to their respective lists in Toolkit by @annestranda in #9
- Complete Package Makeover, v2.0.0 by @kcelebi in #19
- Modifying Package Structure, adding GitHub Actions by @kcelebi in #20
New Contributors
- @kcelebi made their first contribution in #1
- @PENGUINLIONG made their first contribution in #2
- @annestranda made their first contribution in #9
Full Changelog: v1.0.9...v1.0.15
Complete Overhaul of Package, v2.0.0
Initiated a full-system update of the package, re-organizing functionality to make it much more efficient for easily converting RISC-V assembly to machine code. Documentation to be updated soon as it is currently transitioning to GitHub Pages.
There are still a few minor kinks to iron out, namely with correctly implementing jumps and a few pseudo instructions.
The procedure for conversion is now much simpler. Consider base steps:
from riscv_assembler import AssemblyConverter as AC
# initialize conversion object, with printing output mode and as nibbles
convert = AC(output_mode = 'p', nibble_mode = True, hex_mode = False)
# convert instruction provided as string to print output
convert("add x1 x0 x0")
# change output mode to array
convert.output_mode = 'a'
# convert instructions in file to array output, each element is a line
result = convert("test0.s")
# change output mode to file, change nibble mode to False
convert.output_mode = 'f'
convert.nibble_mode = False
# convert instructions in file to text file output and binary file output
convert("test0.s", "result.txt")
convert("test0.s", "result.bin")
Class Fixes and Documentation Changes
Some minor fixes in class notation and big documentation shift - now available on riscv-assembler.org. Check out updates on PyPI.
Toolkit Class Added
The Toolkit class has been added to provide debugging tools for those working on hardware. This includes functions such as nibbleForm() to put bytes into nibbles, hex() to translate to hexadecimal, and calcJump() to calculate jump immediate for branching statements. More tools will be added to this section. This class cleans up the usage for the original AssemblyConverter class, making both of them easier to understand and use.
Different OS Fixes
Issues with pip in different OS's have been fixed, including Windows and Linux. requirements.txt now operates correctly and .travis.yaml now operates as expected. Additionally, unit tests have been created to improve project comprehensiveness.
pip installation fix
Minor errors with directories/naming that prevented pip installation from working correctly. Testing has passed and package is good to go for more testing.