---------- Forwarded message ---------
From:
Muhammed Farseeen CK <farseen_...@nitc.ac.in>Date: Fri, Aug 23, 2019 at 5:33 PM
Subject: eXpOS bug fixes and new features
To: Murali Krishnan <
kmu...@nitc.ac.in>
Respected sir,
My name is Farseen. I am from CSE 3rd year A Batch.
I have fixed a few bugs and added a few options to xfs-interface, xsm and expl.
I would like to have your feedback on those changes.
I have submitted them as pull requests on github.
Could you please look into them?
Bug fixes:
1) Expl - Label translation program treats "num:" in MOV R0, "num:" as label.
Fixed by modifying lex rules.
2) XFS Interface - Label resolving during loading exception handler, etc produces incorrect addresses if a line has more than 33 chars.
Fixed by making the line buffer of labels phase one function larger.
Extra options:
Allowed specifying which disk.xfs file to use in xsm and xfs-interface. This allowed me to effectively organize my progress through the lab as I have done here:
It allows me to make the folder for a particular stage or a particular assignment very self contained.
The disk.xfs is specified using --disk-file parameter. If it is not used, it falls back to the previously hardcoded value we are already using. So it is backwards compatible.
I also have a few more changes that I would like to add.
One is allowing proper comments in xsm files. Currently comments on a line of its own are not handled correctly. But this would require a bit more refactoring to do this in a maintainable way. I would only be able to do this with your guidance.
Sincerely
Farseen,
A Batch, S5 CSE