Skip to content

Releases: kcelebi/riscv-assembler

v1.0.19

10 Apr 11:54
aac5b4e
Compare
Choose a tag to compare

What's Changed

  • Hexmode, package organization fixes. by @kcelebi in #23
  • Package Organization Fix, SB & Jump Fixed by @kcelebi in #24

Full Changelog: v1.0.18...v1.0.19

v1.0.18

10 Apr 09:34
Compare
Choose a tag to compare

Full Changelog: v1.0.16...v1.0.18

v1.0.17

09 Apr 02:24
3024e69
Compare
Choose a tag to compare

What's Changed

  • Fixing branch issues, long-term problem by @kcelebi in #21

Full Changelog: v1.0.15...v1.0.17

v1.0.16

09 Apr 02:21
3024e69
Compare
Choose a tag to compare

What's Changed

  • Fixing branch issues, long-term problem by @kcelebi in #21

Full Changelog: v1.0.15...v1.0.16

v1.0.15

09 Apr 01:30
Compare
Choose a tag to compare

What's Changed

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

03 Apr 04:14
Compare
Choose a tag to compare
Pre-release

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

26 Mar 03:20
Compare
Choose a tag to compare

Some minor fixes in class notation and big documentation shift - now available on riscv-assembler.org. Check out updates on PyPI.

Toolkit Class Added

30 Dec 21:20
Compare
Choose a tag to compare

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

25 Dec 02:34
c5b785c
Compare
Choose a tag to compare

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

24 Dec 03:55
db09e51
Compare
Choose a tag to compare
pip installation fix Pre-release
Pre-release

Minor errors with directories/naming that prevented pip installation from working correctly. Testing has passed and package is good to go for more testing.